mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-12-09 08:44:01 +01:00
define file var before using it
This commit is contained in:
@@ -11,17 +11,16 @@ use Text::Diff;
|
||||
my $tests = 0;
|
||||
my $prg="./testssl.sh";
|
||||
my $html="";
|
||||
my $htmlfile="tmp.html";
|
||||
my $check2run="--ip=one -4 --openssl /usr/bin/openssl --sneaky --ids-friendly --color 0 --htmlfile $htmlfile";
|
||||
my $uri="github.com";
|
||||
my $out="";
|
||||
my $debughtml="";
|
||||
my $edited_html="";
|
||||
my $htmlfile="tmp.html";
|
||||
# Pick /usr/bin/openssl as we want to avoid the debug messages like "Your ./bin/openssl.Linux.x86_64 doesn't support X25519"
|
||||
my $diff="";
|
||||
my $ip="";
|
||||
|
||||
|
||||
die "Unable to open $prg" unless -f $prg;
|
||||
|
||||
printf "\n%s\n", "Doing HTML output checks";
|
||||
|
||||
Reference in New Issue
Block a user