ports/mail/postfix/files/patch-src_tls_tls__dane.c
Bernard Spil 04948a63a8 mail/postfix: Fix typo in LibreSSL patch
- Fix DANE support with LibreSSL

PR:		212223
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
2016-08-30 05:54:01 +00:00

11 lines
373 B
C

--- src/tls/tls_dane.c.orig 2016-08-27 20:27:50 UTC
+++ src/tls/tls_dane.c
@@ -2163,7 +2163,7 @@ static SSL_CTX *ctx_init(const char *CAf
tls_param_init();
tls_check_version();
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
SSL_load_error_strings();
SSL_library_init();
#endif