瀏覽代碼

Add dummy SSL_CTX in case NO_SSL is defined

bel 9 年之前
父節點
當前提交
e328850e31
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -993,6 +993,7 @@ typedef int socklen_t;
 
 #if defined(NO_SSL)
 typedef struct SSL SSL; /* dummy for SSL argument to push/pull */
+typedef struct SSL_CTX SSL_CTX;
 #else
 #if defined(NO_SSL_DL)
 #include <openssl/ssl.h>