diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /mail-mta/postfix/files | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'mail-mta/postfix/files')
-rw-r--r-- | mail-mta/postfix/files/postfix-libressl-certkey.patch | 13 | ||||
-rw-r--r-- | mail-mta/postfix/files/postfix-libressl-server.patch | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix-libressl-certkey.patch b/mail-mta/postfix/files/postfix-libressl-certkey.patch new file mode 100644 index 000000000000..b6ab8aeb7901 --- /dev/null +++ b/mail-mta/postfix/files/postfix-libressl-certkey.patch @@ -0,0 +1,13 @@ +see https://bugs.gentoo.org/678874 + +--- a/src/tls/tls_certkey.c.orig 2019-03-07 23:57:10 UTC ++++ b/src/tls/tls_certkey.c +@@ -144,7 +144,7 @@ static void init_pem_load_state(pem_load + + /* use_chain - load cert, key and chain into ctx or ssl */ + +-#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL ++#if OPENSSL_VERSION_NUMBER >= 0x1010100fUL && !defined(LIBRESSL_VERSION_NUMBER) + static int use_chain(pem_load_state_t *st) + { + int ret; diff --git a/mail-mta/postfix/files/postfix-libressl-server.patch b/mail-mta/postfix/files/postfix-libressl-server.patch new file mode 100644 index 000000000000..8573bb80bb59 --- /dev/null +++ b/mail-mta/postfix/files/postfix-libressl-server.patch @@ -0,0 +1,14 @@ +see https://bugs.gentoo.org/678874 + +--- a/src/tls/tls_server.c.orig 2018-12-26 19:21:49 UTC ++++ b/src/tls/tls_server.c +@@ -518,7 +518,9 @@ TLS_APPL_STATE *tls_server_init(const TL + * ticket decryption callback already (since 2.11) asks OpenSSL to + * avoid issuing new tickets when the presented ticket is re-usable. + */ ++#ifndef LIBRESSL_VERSION_NUMBER + SSL_CTX_set_num_tickets(server_ctx, 1); ++#endif + } + #endif + if (!ticketable) |