mirror of
https://github.com/curl/curl.git
synced 2025-03-25 15:50:32 +08:00
curl_sha512_255: fix detection of OpenSSL 1.1.1 or later
Use the same OPENSSL_VERSION_NUMBER comparison as in lib/vtls/openssl.c. Closes #13208
This commit is contained in:
parent
d82869d7a5
commit
c77bdf17f7
@ -44,7 +44,7 @@
|
||||
# include <openssl/opensslv.h>
|
||||
# if (!defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
defined(OPENSSL_VERSION_NUMBER) && \
|
||||
(OPENSSL_VERSION_NUMBER >= 0x10100010L)) || \
|
||||
(OPENSSL_VERSION_NUMBER >= 0x10101000L)) || \
|
||||
(defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
(LIBRESSL_VERSION_NUMBER >= 0x3080000fL))
|
||||
# include <openssl/opensslconf.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user