or provided functions that are now available in libcrypto. ok gsoares, sthen (for a more aggressive earlier version) I'll revisit the other bits at p2k18.
14 lines
562 B
Plaintext
14 lines
562 B
Plaintext
$OpenBSD: patch-src_ssl_c,v 1.8 2018/04/14 09:05:14 tb Exp $
|
|
Index: src/ssl.c
|
|
--- src/ssl.c.orig
|
|
+++ src/ssl.c
|
|
@@ -51,7 +51,7 @@ int index_ssl_cli, index_ssl_ctx_opt;
|
|
int index_session_authenticated, index_session_connect_address;
|
|
|
|
int ssl_init(void) { /* init TLS before parsing configuration file */
|
|
-#if OPENSSL_VERSION_NUMBER>=0x10100000L
|
|
+#if OPENSSL_VERSION_NUMBER>=0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
|
OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
|
|
OPENSSL_INIT_LOAD_CRYPTO_STRINGS | OPENSSL_INIT_LOAD_CONFIG, NULL);
|
|
#else
|