Skip to content

Commit c34d7df

Browse files
Fix comment regarding LibreSSL availability
SSL_AD_NO_APPLICATION_PROTOCOL is indeed available in LibreSSL, but only in 3.4.3 and later (shipped in OpenBSD 7.0). Discussion: https://postgr.es/m/E1s1g0Z-000jeC-OR@gemulon.postgresql.org
1 parent 7d2c7f0 commit c34d7df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/libpq/fe-secure-openssl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,8 @@ SSLerrmessage(unsigned long ecode)
17461746
* The ERR_reason_error_string() function doesn't give any error string
17471747
* for that for some reason, so do it ourselves. See
17481748
* https://github.com/openssl/openssl/issues/24300. This is available in
1749-
* OpenSSL 1.1.0 and later, but as of this writing not in LibreSSL.
1749+
* OpenSSL 1.1.0 and later, as well as in LibreSSL 3.4.3 (OpenBSD 7.0) and
1750+
* later.
17501751
*/
17511752
#ifdef SSL_AD_NO_APPLICATION_PROTOCOL
17521753
if (ERR_GET_LIB(ecode) == ERR_LIB_SSL &&

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy