Explorar o código

Add dummy SSL_CTX in case NO_SSL is defined

bel %!s(int64=9) %!d(string=hai) anos
pai
achega
e328850e31
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>