Skip to content

Commit 964e892

Browse files
committed
define file var before using it
1 parent a4b6d1f commit 964e892

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

t/32_isHTML_valid.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ use Text::Diff;
1111
my $tests = 0;
1212
my $prg="./testssl.sh";
1313
my $html="";
14+
my $htmlfile="tmp.html";
1415
my $check2run="--ip=one -4 --openssl /usr/bin/openssl --sneaky --ids-friendly --color 0 --htmlfile $htmlfile";
1516
my $uri="github.com";
1617
my $out="";
1718
my $debughtml="";
1819
my $edited_html="";
19-
my $htmlfile="tmp.html";
2020
# Pick /usr/bin/openssl as we want to avoid the debug messages like "Your ./bin/openssl.Linux.x86_64 doesn't support X25519"
2121
my $diff="";
2222
my $ip="";
2323

24-
2524
die "Unable to open $prg" unless -f $prg;
2625

2726
printf "\n%s\n", "Doing HTML output checks";

0 commit comments

Comments
 (0)