[sr-dev] git:master:238ef139: tls: fix OpenSSL engine in child processes

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 6 10:33:16 CEST 2021

Module: kamailio
Branch: master
Commit: 238ef139bfbe145fb93e5c4b0730de58040d2265
URL: https://github.com/kamailio/kamailio/commit/238ef139bfbe145fb93e5c4b0730de58040d2265

Author: Anthony Alba <ascanio.alba7 at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-09-06T10:33:13+02:00

tls: fix OpenSSL engine in child processes

tls_init.c calls OPENSSL_init_ssl(); this initializes the
global engine linked-list and this cannot be reset in the child.

To avoid linked-list corruption we manually instantiate
the engine object required for loading private keys instead of
relying on CONF_modules_load_file().

Updates to doc/.

Addresses #2839


Modified: src/modules/tls/doc/hsm_howto.xml
Modified: src/modules/tls/tls_mod.c


Diff:  https://github.com/kamailio/kamailio/commit/238ef139bfbe145fb93e5c4b0730de58040d2265.diff
Patch: https://github.com/kamailio/kamailio/commit/238ef139bfbe145fb93e5c4b0730de58040d2265.patch

More information about the sr-dev mailing list