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/[email protected]
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)