Module: kamailio
Branch: 5.1
Commit: 649e3766f4159a366a1befe49f132637239e7e9a
URL:
https://github.com/kamailio/kamailio/commit/649e3766f4159a366a1befe49f13263…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-05-22T21:31:18+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/649e3766f4159a366a1befe49f13263…
Patch:
https://github.com/kamailio/kamailio/commit/649e3766f4159a366a1befe49f13263…
---
diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c
index 030e3d2d79..ef27d08f7f 100644
--- a/src/modules/tls/tls_init.c
+++ b/src/modules/tls/tls_init.c
@@ -857,7 +857,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 */
LM_DBG("executing openssl v1.1+ cleanup\n");