diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-06 10:40:43 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-06 10:42:57 +0100 |
commit | 68f6ab711323678382d2746e57358d3f57a3446b (patch) | |
tree | dd09f26c7d9e35d0dfa32f32ff6a3a715f5848e8 /ext/curl/interface.c | |
parent | 74b11e3315d4204d391e4212a2be800b235af41e (diff) | |
download | php-git-68f6ab711323678382d2746e57358d3f57a3446b.tar.gz |
Don't link against openssl 1.1 in curl
OpenSSL 1.1 does not need crypto locking callbacks, so avoid
detecting and linking against it in the first place.
Diffstat (limited to 'ext/curl/interface.c')
-rw-r--r-- | ext/curl/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 4e17e29159..877b128ed2 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -43,7 +43,7 @@ #endif /* {{{ cruft for thread safe SSL crypto locks */ -#if defined(ZTS) && defined(HAVE_CURL_OPENSSL) +#if defined(ZTS) && defined(HAVE_CURL_OLD_OPENSSL) # if defined(HAVE_OPENSSL_CRYPTO_H) # define PHP_CURL_NEED_OPENSSL_TSL # include <openssl/crypto.h> @@ -53,7 +53,7 @@ "openssl/crypto.h; thus no SSL crypto locking callbacks will be set, which may " \ "cause random crashes on SSL requests" # endif -#endif /* ZTS && HAVE_CURL_OPENSSL */ +#endif /* ZTS && HAVE_CURL_OLD_OPENSSL */ /* }}} */ #define SMART_STR_PREALLOC 4096 |