Re: pgsql: Fix compilation with OpenSSL 4 - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: pgsql: Fix compilation with OpenSSL 4
Date
Msg-id apky-gqiLVtFkR-w@msg.df7cb.de
Whole thread
Responses Re: pgsql: Fix compilation with OpenSSL 4
List 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



pgsql-hackers by date:

Previous
From: Osama Abdul Qader
Date:
Subject: Re: REPACK (ANALYZE) within transaction block segfaults
Next
From: shveta malik
Date:
Subject: Re: Fix resource leak in FindConflictTuple() retry path