Просмотр исходного кода

cryptolib_users is used even if NO_SSL_DL is set

bel 10 лет назад
Родитель
Сommit
4a7ef7c616
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/civetweb.c

+ 2 - 1
src/civetweb.c

@@ -6168,10 +6168,11 @@ static void *load_dll(struct mg_context *ctx, const char *dll_name,
 
 static void *ssllib_dll_handle;        /* Store the ssl library handle. */
 static void *cryptolib_dll_handle;     /* Store the crypto library handle. */
-static int cryptolib_users = 0;        /* Refecence counter for crypto library. */
 
 #endif /* NO_SSL_DL */
 
+static int cryptolib_users = 0;        /* Refecence counter for crypto library. */
+
 static int initialize_ssl(struct mg_context *ctx)
 {
     int i, size;