mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
13 lines
396 B
Plaintext
13 lines
396 B
Plaintext
Index: test/server/test_sslserver.c
|
|
--- test/server/test_sslserver.c.orig
|
|
+++ test/server/test_sslserver.c
|
|
@@ -239,7 +239,7 @@ init_ssl_context(serv_ctx_t *serv_ctx,
|
|
/* Init OpenSSL globally */
|
|
if (!init_done)
|
|
{
|
|
-#ifdef USE_OPENSSL_1_1_API
|
|
+#if defined(USE_OPENSSL_1_1_API) && !defined(LIBRESSL_VERSION_NUMBER)
|
|
OPENSSL_malloc_init();
|
|
#else
|
|
CRYPTO_malloc_init();
|