Module: kamailio
Branch: master
Commit: 8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d
URL:
https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-02-03T10:53:33+01:00
outbound: fix build on xenial
outbound_mod.c: In function 'mod_init':
outbound_mod.c:122:2: error: too many arguments to function 'mod_init_openssl'
mod_init_openssl(NULL);
^
outbound_mod.c:82:13: note: declared here
static void mod_init_openssl(void)
^
---
Modified: src/modules/outbound/outbound_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9…
Patch:
https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9…
---
diff --git a/src/modules/outbound/outbound_mod.c b/src/modules/outbound/outbound_mod.c
index 24d7a54cd71..e5ed1712607 100644
--- a/src/modules/outbound/outbound_mod.c
+++ b/src/modules/outbound/outbound_mod.c
@@ -119,7 +119,7 @@ static int mod_init(void)
ob_key.len = OB_KEY_LEN;
#if OPENSSL_VERSION_NUMBER < 0x010101000L
- mod_init_openssl(NULL);
+ mod_init_openssl();
#else
run_threadV(mod_init_openssl);
#endif