Skip to content

Commit da98d00

Browse files
committed
Fix some comments in ./configure and meson setup files
The comments referring to SSL_CTX_set_cert_cb() in ./configure and ./configure.ac were inconsistent, as `autoreconf -i` would show. While on it, fix a typo on a comment related to the same check in meson.build. Issue introduced in 8e278b6, that removed support for OpenSSL 1.0.1. Per offlist report from Thomas Munro.
1 parent f863d82 commit da98d00

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12961,7 +12961,7 @@ else
1296112961
fi
1296212962

1296312963
fi
12964-
# LibreSSL does not have SSL_CTX_set_cert_cb().
12964+
# Function introduced in OpenSSL 1.0.2, not in LibreSSL.
1296512965
for ac_func in SSL_CTX_set_cert_cb
1296612966
do :
1296712967
ac_fn_c_check_func "$LINENO" "SSL_CTX_set_cert_cb" "ac_cv_func_SSL_CTX_set_cert_cb"

configure.ac

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,8 +1377,7 @@ if test "$with_ssl" = openssl ; then
13771377
AC_SEARCH_LIBS(CRYPTO_new_ex_data, [eay32 crypto], [], [AC_MSG_ERROR([library 'eay32' or 'crypto' is required for OpenSSL])])
13781378
AC_SEARCH_LIBS(SSL_new, [ssleay32 ssl], [], [AC_MSG_ERROR([library 'ssleay32' or 'ssl' is required for OpenSSL])])
13791379
fi
1380-
# Function introduced in OpenSSL 1.0.2. LibreSSL does not have
1381-
# SSL_CTX_set_cert_cb().
1380+
# Function introduced in OpenSSL 1.0.2, not in LibreSSL.
13821381
AC_CHECK_FUNCS([SSL_CTX_set_cert_cb])
13831382
# Functions introduced in OpenSSL 1.1.0. We used to check for
13841383
# OPENSSL_VERSION_NUMBER, but that didn't work with 1.1.0, because LibreSSL

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ if sslopt in ['auto', 'openssl']
12701270
['CRYPTO_new_ex_data', {'required': true}],
12711271
['SSL_new', {'required': true}],
12721272

1273-
# Functions introduced in OpenSSL 1.0.2, not in LibreSSL.
1273+
# Function introduced in OpenSSL 1.0.2, not in LibreSSL.
12741274
['SSL_CTX_set_cert_cb'],
12751275

12761276
# Functions introduced in OpenSSL 1.1.0. We used to check for

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