pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Hack one ssl test case to pass with current LibreSSL.
Date: Fri, 09 May 2025 16:29:16 +0000
Message-ID: <E1uDQb5-000wbF-2V@gemulon.postgresql.org> (raw)

Hack one ssl test case to pass with current LibreSSL.

With LibreSSL, our test of error logging for cert chain depths > 0
reports the wrong certificate.  This is almost certainly their bug
not ours, so just tweak the test to accept their answer.

No back-patch needed, since this test case wasn't enabled before
e0f373ee4.

Reported-by: Thomas Munro <thomas.munro@gmail.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/75d73331d0146871c846e849be626cb220e7e013

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



Message-ID: <E1uDQb5-000wbF-2V@gemulon.postgresql.org>
Permalink:  ../E1uDQb5-000wbF-2V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uDQb5-000wbF-2V@gemulon.postgresql.org

 · 

reply

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Hack one ssl test case to pass with current LibreSSL.
  In-Reply-To: <E1uDQb5-000wbF-2V@gemulon.postgresql.org>

* 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