Re: pgsql: Fix compilation with OpenSSL 4

From: Christoph Berg <cb(at)df7cb(dot)de>
To: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix compilation with OpenSSL 4
Date: 2026-09-03 08:42:34
Message-ID: apky-gqiLVtFkR-w@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Re: Daniel Gustafsson
> There is also an errormessage change in OpenSSL 4.0.0 which needed
> to be covered by our testharness.

The backpatches of the message test are incomplete for 16 and 17:

git show origin/REL_16_STABLE:src/test/ssl/t/001_ssltests.pl | grep 'alert certificate revoked'
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,
expected_stderr => qr|SSL error: ssl[a-z0-9/]* alert certificate revoked|,

git show origin/REL_17_STABLE:src/test/ssl/t/001_ssltests.pl | grep 'alert certificate revoked'
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,
expected_stderr => qr|SSL error: ssl[a-z0-9/]* alert certificate revoked|,

18/15/14 are ok:

git show origin/REL_18_STABLE:src/test/ssl/t/001_ssltests.pl | grep 'alert certificate revoked'
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,
expected_stderr => qr!SSL error: (ssl[a-z0-9/]*|tls) alert certificate revoked!,

Noticed while bootstrapping the new Ubuntu stonking 26.10 for apt.pg.o.

Christoph

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2026-09-03 08:49:00 pgsql: Use WAL insert position for conflict detection.
Previous Message Michael Paquier 2026-09-03 08:36:40 pgsql: pg_upgrade: Test --check with a running source server

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-09-03 09:06:33 Re: Fix resource leak in FindConflictTuple() retry path
Previous Message Osama Abdul Qader 2026-09-03 08:26:59 Re: REPACK (ANALYZE) within transaction block segfaults