mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Added OpenSSL version check. (Currently commented out)
This commit is contained in:
parent
6a03ddf912
commit
a782d1b609
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ typedef int socket_t;
|
|||
#include <openssl/ssl.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
|
||||
#include <openssl/crypto.h>
|
||||
inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) {
|
||||
|
|
Loading…
Reference in a new issue