Module: kamailio
Branch: master
Commit: 689de2736f5c92f11860e5854ccd95c84239f032
URL:
https://github.com/kamailio/kamailio/commit/689de2736f5c92f11860e5854ccd95c…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-01-04T21:47:23+08:00
outbound: OpenSSL 1.1.1 thread-local, init libssl in thread
---
Modified: src/modules/outbound/outbound_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/689de2736f5c92f11860e5854ccd95c…
Patch:
https://github.com/kamailio/kamailio/commit/689de2736f5c92f11860e5854ccd95c…
---
diff --git a/src/modules/outbound/outbound_mod.c b/src/modules/outbound/outbound_mod.c
index 00c0a66f73b..a797eb8132e 100644
--- a/src/modules/outbound/outbound_mod.c
+++ b/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;