Added OpenSSL version check. (Currently commented out)
This commit is contained in:
parent
6a03ddf912
commit
a782d1b609
@ -80,6 +80,10 @@ typedef int socket_t;
|
|||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
|
// #if OPENSSL_VERSION_NUMBER < 0x1010100fL
|
||||||
|
// #error Sorry, OpenSSL versions prior to 1.1.1 are not supported
|
||||||
|
// #endif
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
#include <openssl/crypto.h>
|
#include <openssl/crypto.h>
|
||||||
inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) {
|
inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user