aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2021-12-05 11:50:03 -0500
committerAndrew Dunstan <andrew@dunslane.net>2021-12-05 11:50:03 -0500
commitd4596a20d046e800644d6027613c6a2cb5a6c35e (patch)
tree97e0a4c4757484155cb2ccf8eaac1266a800e78c /src
parentfadac33bb8de1cb9005aed07cdd059ba1fa9c6f8 (diff)
downloadpostgresql-d4596a20d046e800644d6027613c6a2cb5a6c35e.tar.gz
postgresql-d4596a20d046e800644d6027613c6a2cb5a6c35e.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/test/ssl/t/001_ssltests.pl1
1 files changed, 1 insertions, 0 deletions
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