diff options
Diffstat (limited to 'mail/postfix/files/patch-src_tls_tls__client.c')
-rw-r--r-- | mail/postfix/files/patch-src_tls_tls__client.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/postfix/files/patch-src_tls_tls__client.c b/mail/postfix/files/patch-src_tls_tls__client.c new file mode 100644 index 000000000000..4f63c0858b26 --- /dev/null +++ b/mail/postfix/files/patch-src_tls_tls__client.c @@ -0,0 +1,20 @@ +--- src/tls/tls_client.c.orig 2016-08-27 20:27:50 UTC ++++ src/tls/tls_client.c +@@ -299,7 +299,7 @@ TLS_APPL_STATE *tls_client_init(const TL + */ + tls_check_version(); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + /* + * Initialize the OpenSSL library by the book! To start with, we must +@@ -441,7 +441,7 @@ TLS_APPL_STATE *tls_client_init(const TL + /* + * 2015-12-05: Ephemeral RSA removed from OpenSSL 1.1.0-dev + */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + /* + * According to the OpenSSL documentation, temporary RSA key is needed |