Sfoglia il codice sorgente

outbound: OpenSSL 1.1.1 thread-local, init libssl in thread

(cherry-pick from 689de2736f5c92f11860e5854ccd95c84239f032)
S-P Chan 1 anno fa
parent
commit
fe0968687d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/modules/outbound/outbound_mod.c

+ 1 - 1
src/modules/outbound/outbound_mod.c

@@ -110,7 +110,7 @@ static int mod_init(void)
 	}
 	}
 	ob_key.len = OB_KEY_LEN;
 	ob_key.len = OB_KEY_LEN;
 
 
-#if OPENSSL_VERSION_NUMBER < 0x030000000L
+#if OPENSSL_VERSION_NUMBER < 0x010101000L
         mod_init_openssl(NULL);
         mod_init_openssl(NULL);
 #else
 #else
         pthread_t tid;
         pthread_t tid;