From a782d1b6093d7ca1f09cd8f9f4923206fd0d4cfc Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 31 Aug 2019 20:15:50 -0400 Subject: [PATCH] Added OpenSSL version check. (Currently commented out) --- httplib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/httplib.h b/httplib.h index d864c8b..dafef58 100644 --- a/httplib.h +++ b/httplib.h @@ -80,6 +80,10 @@ typedef int socket_t; #include #include +// #if OPENSSL_VERSION_NUMBER < 0x1010100fL +// #error Sorry, OpenSSL versions prior to 1.1.1 are not supported +// #endif + #if OPENSSL_VERSION_NUMBER < 0x10100000L #include inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) {