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