Module: kamailio
Branch: master
Commit: 54f248e60ce4d6ab9a87967d7df05e60c05d926d
URL:
https://github.com/kamailio/kamailio/commit/54f248e60ce4d6ab9a87967d7df05e6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-06-28T11:31:48+02:00
tls: added key_password_mode modparam
- if 0 (default), get private key password from config; if 1, prompt for
it (old way)
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/54f248e60ce4d6ab9a87967d7df05e6…
Patch:
https://github.com/kamailio/kamailio/commit/54f248e60ce4d6ab9a87967d7df05e6…
---
diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index e292c7eb1b2..4c41f94bcac 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -308,6 +308,7 @@ static param_export_t params[] = {
{"rand_engine", PARAM_STR | USE_FUNC_PARAM,
(void *)ksr_rand_engine_param},
{"init_mode", PARAM_INT, &ksr_tls_init_mode},
+ {"key_password_mode", PARAM_INT, &ksr_tls_key_password_mode},
{0, 0, 0}};