mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
parent
1599dfcba6
commit
4ff5f9405a
@ -129,16 +129,15 @@
|
||||
#define X509_get0_notBefore(x) X509_get_notBefore(x)
|
||||
#define X509_get0_notAfter(x) X509_get_notAfter(x)
|
||||
#define CONST_EXTS /* nope */
|
||||
#ifdef LIBRESSL_VERSION_NUMBER
|
||||
static unsigned long OpenSSL_version_num(void)
|
||||
{
|
||||
return LIBRESSL_VERSION_NUMBER;
|
||||
}
|
||||
#else
|
||||
#ifndef LIBRESSL_VERSION_NUMBER
|
||||
#define OpenSSL_version_num() SSLeay()
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef LIBRESSL_VERSION_NUMBER
|
||||
#define OpenSSL_version_num() LIBRESSL_VERSION_NUMBER
|
||||
#endif
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x1000200fL) && /* 1.0.2 or later */ \
|
||||
!(defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||
|
Loading…
Reference in New Issue
Block a user