Module: kamailio
Branch: master
Commit: 03456e5e5983e2236b8e182cf3317d14ebf34e18
URL:
https://github.com/kamailio/kamailio/commit/03456e5e5983e2236b8e182cf3317d1…
Author: Elena-Ramona Modroiu <anomarme(a)users.noreply.github.com>
Committer: GitHub <noreply(a)github.com>
Date: 2024-01-16T16:07:43+01:00
tls: set parameter name for tls_h_mod_randctx()
- without it fails to compile on Unbuntu 22.04 with low latency kernel
---
Modified: src/modules/tls/tls_init.c
---
Diff:
https://github.com/kamailio/kamailio/commit/03456e5e5983e2236b8e182cf3317d1…
Patch:
https://github.com/kamailio/kamailio/commit/03456e5e5983e2236b8e182cf3317d1…
---
diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c
index bb1d0f19207..6992d4a65e2 100644
--- a/src/modules/tls/tls_init.c
+++ b/src/modules/tls/tls_init.c
@@ -739,7 +739,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;