Re: Small cleanup of leftover pre-1.1.0 OpenSSL code

From: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
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:54:02
Message-ID: CAJTYsWXV1J_qTQMtcqe0YJvK=AC2Zf7F1WNNnPLSZndnZUs1bQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, 25 Nov 2026 at 09:53, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
>
> 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.

Agreed, mentioning just 3.4 is enough. I would keep LibreSSL in there
though, since it only got the fix in 4.1. But no hard opinions on it.

Regards,
Ayush

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2026-11-25 05:05:42 Re: Add CHECK_FOR_INTERRUPTS() to XPath result serialisation
Previous Message Andreas Karlsson 2026-11-25 04:38:49 Re: [PATCH] pg_input_is_valid() reuses the first type name inside a PL/pgSQL loop