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

Author: Elena-Ramona Modroiu <anoma...@users.noreply.github.com>
Committer: Elena-Ramona Modroiu <anoma...@gmail.com>
Date: 2024-01-16T16:13:19+01:00

tls: set parameter name for tls_h_mod_randctx()

- without it fails to compile on Unbuntu 22.04 with low latency kernel

(cherry picked from commit 03456e5e5983e2236b8e182cf3317d14ebf34e18)

---

Modified: src/modules/tls/tls_init.c

---

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

---

diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c
index 629f69ad6b3..1c6b19f560e 100644
--- a/src/modules/tls/tls_init.c
+++ b/src/modules/tls/tls_init.c
@@ -737,7 +737,8 @@ int tls_pre_init(void)
  * left here in case more complex requirements arise in
  * OpenSSL >= 3.2.
  */
-long tls_h_mod_randctx(void *) {
+long tls_h_mod_randctx(void *param)
+{
     do {
         OSSL_LIB_CTX *osslglobal = NULL;
         EVP_RAND_CTX *randctx = NULL;

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to