blob: 42e793e9b5a00a80f36cd8844eb17b0f48bb36f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- modules/ssl/mod_ssl.c.orig 2018-02-13 23:43:36 UTC
+++ modules/ssl/mod_ssl.c
@@ -398,7 +398,7 @@ static int ssl_hook_pre_config(apr_pool_
/* We must register the library in full, to ensure our configuration
* code can successfully test the SSL environment.
*/
-#if MODSSL_USE_OPENSSL_PRE_1_1_API
+#if MODSSL_USE_OPENSSL_PRE_1_1_API || defined(LIBRESSL_VERSION_NUMBER)
(void)CRYPTO_malloc_init();
#else
OPENSSL_malloc_init();
|