1 $OpenBSD: patch-src_ssl_c,v 1.8 2018/04/14 09:05:14 tb Exp $
5 @@ -51,7 +51,7 @@ int index_ssl_cli, index_ssl_ctx_opt;
6 int index_session_authenticated, index_session_connect_address;
8 int ssl_init(void) { /* init TLS before parsing configuration file */
9 -#if OPENSSL_VERSION_NUMBER>=0x10100000L
10 +#if OPENSSL_VERSION_NUMBER>=0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
11 OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
12 OPENSSL_INIT_LOAD_CRYPTO_STRINGS | OPENSSL_INIT_LOAD_CONFIG, NULL);