diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:46:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:46:31 +0000 |
commit | 32afea41ba8b7328e252ae97ca32c56f98d42a90 (patch) | |
tree | 11b25ffd59d9190c8316cd48ace4e198531d0e7d /debian/patches/tls_version.diff | |
parent | Adding upstream version 3.4.23. (diff) | |
download | postfix-4a9b5df85228cb8bf2e42f40a51eab367b93f833.tar.xz postfix-4a9b5df85228cb8bf2e42f40a51eab367b93f833.zip |
Adding debian version 3.4.23-0+deb10u1.debian/3.4.23-0+deb10u1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/tls_version.diff')
-rw-r--r-- | debian/patches/tls_version.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/tls_version.diff b/debian/patches/tls_version.diff new file mode 100644 index 0000000..f028d24 --- /dev/null +++ b/debian/patches/tls_version.diff @@ -0,0 +1,28 @@ +Index: postfix/src/tls/tls_client.c +=================================================================== +--- postfix.orig/src/tls/tls_client.c ++++ postfix/src/tls/tls_client.c +@@ -414,6 +414,9 @@ TLS_APPL_STATE *tls_client_init(const TL + SSL_CTX_set_min_proto_version(client_ctx, 0); + #endif + ++ /* Enable all supported protocols */ ++ SSL_CTX_set_min_proto_version(client_ctx, 0); ++ + /* + * Set the call-back routine for verbose logging. + */ +Index: postfix/src/tls/tls_server.c +=================================================================== +--- postfix.orig/src/tls/tls_server.c ++++ postfix/src/tls/tls_server.c +@@ -539,6 +539,9 @@ TLS_APPL_STATE *tls_server_init(const TL + if (protomask != 0) + SSL_CTX_set_options(server_ctx, TLS_SSL_OP_PROTOMASK(protomask)); + ++ /* Enable all supported protocols */ ++ SSL_CTX_set_min_proto_version(server_ctx, 0); ++ + /* + * Some sites may want to give the client less rope. On the other hand, + * this could trigger inter-operability issues, the client should not |