From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, byavuz81(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>, Michael Paquier <michael(at)paquier(dot)xyz> |
Subject: | Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0 |
Date: | 2022-02-03 15:48:40 |
Message-ID: | E59CF4C1-18F4-4077-9421-99ECA799A8A6@yesql.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Pouring over SSL test logs I was again red-herringed by the warning we get for
using hex() on a large input value, before I remembered that it's benign and
emerged from the rabbithole:
Hexadecimal number > 0xffffffff non-portable at t/001_ssltests.pl line 508.
We could suppress it by turning off warnings for that line, since we know it
will work due to the 64-bit int test a few lines before:
@@ -505,6 +505,7 @@ if ($? == 0)
{
$serialno =~ s/^serial=//;
$serialno =~ s/\s+//g;
+ local $SIG{'__WARN__'} = sub { };
$serialno = hex($serialno);
}
else
Turning of warnings might be a bridge too far for some though? Thoughts?
--
Daniel Gustafsson https://vmware.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-02-03 15:55:36 | Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0 |
Previous Message | Daniel Gustafsson | 2022-02-03 14:25:59 | Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0 |