Browse code

tls: Fixed build tls module on Alpine dist

Sergey Safarov authored on 21/05/2018 21:43:31 • Henning Westerholt committed on 22/05/2018 18:56:42
Showing 1 changed files
... ...
@@ -857,7 +857,7 @@ void destroy_tls_h(void)
857 857
 	tls_destroy_cfg();
858 858
 	tls_destroy_locks();
859 859
 	tls_ct_wq_destroy();
860
-#if OPENSSL_VERSION_NUMBER >= 0x010100000L
860
+#if OPENSSL_VERSION_NUMBER >= 0x010100000L && !defined(LIBRESSL_VERSION_NUMBER)
861 861
 	/* explicit execution of libssl cleanup to avoid being executed again
862 862
 	 * by atexit(), when shm is gone */
863 863
 	LM_DBG("executing openssl v1.1+ cleanup\n");