Re: Small cleanup of leftover pre-1.1.0 OpenSSL code

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Small cleanup of leftover pre-1.1.0 OpenSSL code
Date: 2026-11-25 04:23:06
Message-ID: c1adb365-c829-4573-aaaf-8cd46c5052f2@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/25/26 04:49, Ayush Tiwari wrote:
> Since we are touching this comment anyway, maybe we can also mention that
> the OpenSSL issue has been fixed? Newer OpenSSL and LibreSSL versions now
> return an error string for this alert on their own, so we only need this
> for older versions. Something like:
>
> /*
> * Server aborted the connection with TLS "no_application_protocol" alert.
> * Older OpenSSL and LibreSSL versions don't give any error string for
> * that, so do it ourselves. This was fixed in OpenSSL 3.0.14, 3.1.6,
> * 3.2.2 and 3.3.1, and in LibreSSL 4.1.0. See
> * https://github.com/openssl/openssl/issues/24300.
> */
Makes sense, but I wonder if it would not be enough to mention just
3.3.1 or even 3.4 as we are unlikely to drop this code until we depend
on 3.4 or higher.

--
Andreas Karlsson
Percona

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-11-25 04:33:08 Re: Redesign per-backend statistics
Previous Message Xuneng Zhou 2026-11-25 04:22:29 remove unused shared WAL flush request