Module: kamailio
Branch: 5.7
Commit: fe0968687d5ee7918f6a18591623fcb1b5fe2004
URL: 
https://github.com/kamailio/kamailio/commit/fe0968687d5ee7918f6a18591623fcb1b5fe2004

Author: S-P Chan <[email protected]>
Committer: Richard Chan <[email protected]>
Date: 2024-01-09T10:18:55+08:00

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

(cherry-pick from 689de2736f5c92f11860e5854ccd95c84239f032)

---

Modified: src/modules/outbound/outbound_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/fe0968687d5ee7918f6a18591623fcb1b5fe2004.diff
Patch: 
https://github.com/kamailio/kamailio/commit/fe0968687d5ee7918f6a18591623fcb1b5fe2004.patch

---

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;

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to