> On 25 Nov 2026, at 05:54, Ayush Tiwari <[email protected]> wrote: > > Hi, > > On Wed, 25 Nov 2026 at 09:53, Andreas Karlsson <[email protected]> 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
