diff options
Diffstat (limited to 'mail/postfix/files/patch-src_tls_tls__rsa.c')
-rw-r--r-- | mail/postfix/files/patch-src_tls_tls__rsa.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/postfix/files/patch-src_tls_tls__rsa.c b/mail/postfix/files/patch-src_tls_tls__rsa.c new file mode 100644 index 000000000000..bbfd96134479 --- /dev/null +++ b/mail/postfix/files/patch-src_tls_tls__rsa.c @@ -0,0 +1,20 @@ +--- src/tls/tls_rsa.c.orig 2016-01-03 14:49:51 UTC ++++ src/tls/tls_rsa.c +@@ -57,7 +57,7 @@ + /* + * 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) + + /* tls_tmp_rsa_cb - call-back to generate ephemeral RSA key */ + +@@ -109,7 +109,7 @@ int main(int unused_argc, char *cons + /* + * 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) + RSA *rsa; + + msg_vstream_init(argv[0], VSTREAM_ERR); |