Procházet zdrojové kódy

Add dummy SSL_CTX in case NO_SSL is defined

bel před 9 roky
rodič
revize
e328850e31
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

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