| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> |
| Cc: | Andreas Karlsson <andreas(at)proxel(dot)se>, 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 14:04:43 |
| Message-ID: | C4472375-EC19-4449-9501-7AAA900CBFD1@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> On 25 Nov 2026, at 05:54, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
>
> 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.
Thanks for the patch, it's indeed a nice potential cleanup. I'll go and apply
it when back in the office.
--
Daniel Gustafsson
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ayoub Kazar | 2026-11-25 14:32:04 | Re: Remove inner joins based on foreign keys |
| Previous Message | Ayush Tiwari | 2026-11-25 14:01:43 | Re: [PATCH] Table sync race with REFRESH PUBLICATION |