Skip to content

Commit d4596a2

Browse files
committed
Silence perl complaint in ssl test
Perl's hex() function complains if its argument contains trailing white space (or in fact anything other than hex digits), so remove the offending text.
1 parent fadac33 commit d4596a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ssl/t/001_ssltests.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@
504504
if ($Config{ivsize} == 8)
505505
{
506506
$serialno =~ s/^serial=//;
507+
$serialno =~ s/\s+//g;
507508
$serialno = hex($serialno);
508509
}
509510
else

0 commit comments

Comments
 (0)