Module: kamailio
Branch: 5.0
Commit: 0045f52da587a2aa1c050d920bc3900273409a23
URL:
https://github.com/kamailio/kamailio/commit/0045f52da587a2aa1c050d920bc3900…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-05-22T21:32:14+02:00
tls: Fixed build tls module on Alpine dist
(cherry picked from commit 9bdc1eba76f03cd009d7f04906f13bdb6579f511)
---
Modified: src/modules/tls/tls_init.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0045f52da587a2aa1c050d920bc3900…
Patch:
https://github.com/kamailio/kamailio/commit/0045f52da587a2aa1c050d920bc3900…
---
diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c
index 054d687e9c..3664469bd9 100644
--- a/src/modules/tls/tls_init.c
+++ b/src/modules/tls/tls_init.c
@@ -847,7 +847,7 @@ void destroy_tls_h(void)
tls_destroy_cfg();
tls_destroy_locks();
tls_ct_wq_destroy();
-#if OPENSSL_VERSION_NUMBER >= 0x010100000L
+#if OPENSSL_VERSION_NUMBER >= 0x010100000L &&
!defined(LIBRESSL_VERSION_NUMBER)
/* explicit execution of libssl cleanup to avoid being executed again
* by atexit(), when shm is gone */
DBG("executing openssl v1.1+ cleanup\n");