Remove tmp.json files after use

Remove tmp.json files after use so that testssl.sh doesn't complain that they already exist.
This commit is contained in:
David Cooper 2017-03-29 11:43:03 -04:00 committed by GitHub
parent 1723374511
commit 603f03e79a
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ my (
pass("Running testssl.sh against ssl.sectionzero.org"); $tests++;
$out = `./testssl.sh -H --jsonfile tmp.json --color 0 ssl.sectionzero.org`;
$json = json('tmp.json');
unlink 'tmp.json';
# It is better to have findings in a hash
# Look for a host cert match in the process.