diff options
| author | Bernard Spil <brnrd@FreeBSD.org> | 2016-08-29 19:23:49 +0000 |
|---|---|---|
| committer | Bernard Spil <brnrd@FreeBSD.org> | 2016-08-29 19:23:49 +0000 |
| commit | 2a819e64d934034a327de377de64c57317d00c94 (patch) | |
| tree | 933d6a90914e950d4c4a1833b55f8709c4087ba8 /mail/postfix/files/patch-src_tls_tls__client.c | |
| parent | aceac7bdec2de84558265b35d6f2684252db53ea (diff) | |
Notes
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 |
