Define OPENSSL_VERSION_1_1_1 on systems where it doesn't (yet) exist

Otherwise preprocessor logic will fail and cause incompatible pointer type issues (by using wrong callback API)
This commit is contained in:
brevilo 2021-01-13 01:54:25 +01:00 committed by GitHub
parent 060bf18787
commit a52df6cafb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,8 @@
#if (defined LIBRESSL_VERSION_NUMBER && OPENSSL_VERSION_NUMBER == 0x20000000L)
#undef OPENSSL_VERSION_NUMBER
#define OPENSSL_VERSION_NUMBER 0x1000107FL
#elif (!defined OPENSSL_VERSION_1_1_1)
#define OPENSSL_VERSION_1_1_1 0x10101000L
#endif
////// TEMPORARY data //////////