mirror of
https://github.com/curl/curl.git
synced 2026-07-16 00:47:17 +03:00
openssl: assume OPENSSL_VERSION_NUMBER
It's defined in all supported OpenSSL versions and forks. Also formatting in `md4.c`. Closes #18388
This commit is contained in:
parent
d65436d9a0
commit
ca6d6dcb20
2 changed files with 1 additions and 2 deletions
|
|
@ -41,7 +41,6 @@
|
|||
#ifdef USE_OPENSSL
|
||||
# include <openssl/opensslv.h>
|
||||
# if (!defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
defined(OPENSSL_VERSION_NUMBER) && \
|
||||
OPENSSL_VERSION_NUMBER >= 0x10101000L) || \
|
||||
(defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
LIBRESSL_VERSION_NUMBER >= 0x3080000fL)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#ifdef USE_OPENSSL
|
||||
#include <openssl/opensslv.h>
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x30000000L) && !defined(USE_AMISSL)
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x30000000L && !defined(USE_AMISSL)
|
||||
/* OpenSSL 3.0.0 marks the MD4 functions as deprecated */
|
||||
#define OPENSSL_NO_MD4
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue