From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Michael Paquier <michael@paquier.xyz>
To: byavuz81@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1
Date: Mon, 20 Jun 2022 14:22:09 +0200
Message-ID: <dc372104-a17d-a2de-bd6a-d9b5b3c7a829@enterprisedb.com> (raw)
In-Reply-To: <Yq/j3FusKULwbFve@paquier.xyz>
References: <17522-bfcd5c603b5f4daa@postgresql.org>
<Yq/j3FusKULwbFve@paquier.xyz>
On 20.06.22 05:05, Michael Paquier wrote:
> On Fri, Jun 17, 2022 at 12:03:16PM +0000, PG Bug reporting form wrote:
>
> Thanks for the report.
>
>> [11:41:29.100](0.001s) not ok 77 - IPv4 host with CIDR mask does not match:
>> matches
>> [11:41:29.100](0.000s)
>> [11:41:29.100](0.000s) # Failed test 'IPv4 host with CIDR mask does not
>> match: matches'
>> # at t/001_ssltests.pl line 336.
>> [11:41:29.100](0.000s) # 'psql: error: connection to
>> server at "127.0.0.1", port 60779 failed: could not set SSL Server Name
>> Indication (SNI): ssl3 ext invalid servername'
>> # doesn't match '(?^:server\ certificate\ for\ \"192\.0\.2\.1\"\ \(and\
>> 1\ other\ name\)\ does\ not\ match\ host\ name\ \"192\.0\.2\.1\/32\")'
>
> There is only one failure. None of the buildfarm members running
> OpneBSD check the SSL tests, but this specific test has been
> introduced by c1932e5.
>
> I am adding Peter and Jacob in CC. This is a new open item for v15.
The test is
$node->connect_fails(
"$common_connstr host=192.0.2.1/32",
"IPv4 host with CIDR mask does not match",
expected_stderr =>
qr/\Qserver certificate for "192.0.2.1" (and 1 other name)
does not match host name "192.0.2.1\/32"\E/
);
which is not using a valid host name to begin with. What is the purpose
of this test?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, michael@paquier.xyz, byavuz81@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1
In-Reply-To: <dc372104-a17d-a2de-bd6a-d9b5b3c7a829@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox