Module: kamailio
Branch: master
Commit: 5526809c2f00a50dfa217d2fbfd688c7abed99f3
URL:
https://github.com/kamailio/kamailio/commit/5526809c2f00a50dfa217d2fbfd688c…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-09-04T06:30:45Z
tls: improve informational messages on startup for DH and ECDH support in OpenSSL
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5526809c2f00a50dfa217d2fbfd688c…
Patch:
https://github.com/kamailio/kamailio/commit/5526809c2f00a50dfa217d2fbfd688c…
---
diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index 3c25eb1cb66..f46d4aaddfd 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -504,11 +504,11 @@ static int mod_init(void)
}
#endif
-#ifndef OPENSSL_NO_ECDH
- LM_INFO("With ECDH-Support!\n");
-#endif
#ifndef OPENSSL_NO_DH
- LM_INFO("With Diffie Hellman\n");
+ LM_INFO("OpenSSL supports Diffie-Hellman\n");
+#endif
+#ifndef OPENSSL_NO_ECDH
+ LM_INFO("OpenSSL supports Elliptic-curve Diffie���Hellman\n");
#endif
if(sr_tls_event_callback.s == NULL || sr_tls_event_callback.len <= 0) {
tls_lookup_event_routes();