[OpenSIPS-Devel] [OpenSIPS/opensips] c6ac01: tls_mgm: fix a cleanup crash when failing to creat...
Vlad Pătrașcu
noreply at github.com
Fri Jun 12 16:36:14 EST 2020
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: c6ac01258b61608b06ca400815e3b89302724107
https://github.com/OpenSIPS/opensips/commit/c6ac01258b61608b06ca400815e3b89302724107
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M modules/tls_mgm/tls_mgm.c
Log Message:
-----------
tls_mgm: fix a cleanup crash when failing to create a SSL_CTX
Commit: a3e87277f275d2b26a3f1472e78a07baea9de85c
https://github.com/OpenSIPS/opensips/commit/a3e87277f275d2b26a3f1472e78a07baea9de85c
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M modules/cachedb_mongodb/Makefile
M modules/cachedb_mongodb/cachedb_mongodb.c
A modules/cachedb_mongodb/ssl_tweaks.c
A ssl_init_tweaks.h
Log Message:
-----------
cachedb_mongodb: fix crashes when loading module along with tls_mgm
Loading the cachedb_mongodb module causes the openssl library to be
initialized in the pre-daemon process, by the mongoc library's
constuctor, before tls_mgm gets the chance to do its own initialization
in the attendant process.
This commit overwrites the openssl functions used by the mongoc library
in order to actually skip the initialization and leave it to tls_mgm.
Related to #2091
Compare: https://github.com/OpenSIPS/opensips/compare/00335803601c...a3e87277f275
More information about the Devel
mailing list