Explorar o código

Merge pull request #846 from gou4shi1/boringssl

Support BoringSSL: disable CONF_modules_unload() and ENGINE_cleanup()
bel2125 %!s(int64=5) %!d(string=hai) anos
pai
achega
db7394bc49
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/civetweb.c

+ 3 - 0
src/civetweb.c

@@ -1810,6 +1810,9 @@ typedef struct SSL_CTX SSL_CTX;
  *
  * #define OPENSSL_free free */
 #define free free
+// disable for boringssl
+#define CONF_modules_unload(a) ((void)0)
+#define ENGINE_cleanup() ((void)0)
 #endif
 
 #if (OPENSSL_VERSION_NUMBER >= 0x10100000L)