Przeglądaj źródła

Merge pull request #846 from gou4shi1/boringssl

Support BoringSSL: disable CONF_modules_unload() and ENGINE_cleanup()
bel2125 5 lat temu
rodzic
commit
db7394bc49
1 zmienionych plików z 3 dodań i 0 usunięć
  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 OPENSSL_free free */
 #define free free
 #define free free
+// disable for boringssl
+#define CONF_modules_unload(a) ((void)0)
+#define ENGINE_cleanup() ((void)0)
 #endif
 #endif
 
 
 #if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
 #if (OPENSSL_VERSION_NUMBER >= 0x10100000L)