Browse Source

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

(cherry-pick from 689de2736f5c92f11860e5854ccd95c84239f032)
S-P Chan 1 năm trước cách đây
mục cha
commit
fe0968687d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 
-#if OPENSSL_VERSION_NUMBER < 0x030000000L
+#if OPENSSL_VERSION_NUMBER < 0x010101000L
         mod_init_openssl(NULL);
 #else
         pthread_t tid;