소스 검색

Merge pull request #846 from gou4shi1/boringssl

Support BoringSSL: disable CONF_modules_unload() and ENGINE_cleanup()
bel2125 5 년 전
부모
커밋
db7394bc49
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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)