postgres.git / summary / log / commit / refs

commit    d4596a20d046e800644d6027613c6a2cb5a6c35e
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Sun Dec 05 16:50:03 2021 +0000
First released in: 15.0

    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.


src/test/ssl/t/001_ssltests.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/ssl/t/001_ssltests.pl b/src/test/ssl/t/001_ssltests.pl index 45f8d4b5308..779ab668386 100644 --- a/src/test/ssl/t/001_ssltests.pl +++ b/src/test/ssl/t/001_ssltests.pl @@ -504,6 +504,7 @@ if ($? == 0) if ($Config{ivsize} == 8) { $serialno =~ s/^serial=//; + $serialno =~ s/\s+//g; $serialno = hex($serialno); } else [parent: fadac33bb8de]