Module: kamailio
Branch: master
Commit: 9bdc1eba76f03cd009d7f04906f13bdb6579f511
URL: 
https://github.com/kamailio/kamailio/commit/9bdc1eba76f03cd009d7f04906f13bdb6579f511

Author: Sergey Safarov <s.safa...@gmail.com>
Committer: Henning Westerholt <henni...@users.noreply.github.com>
Date: 2018-05-22T20:56:42+02:00

tls: Fixed build tls module on Alpine dist

---

Modified: src/modules/tls/tls_init.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/9bdc1eba76f03cd009d7f04906f13bdb6579f511.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9bdc1eba76f03cd009d7f04906f13bdb6579f511.patch

---

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");


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to