summaryrefslogtreecommitdiff
path: root/net-mail/sendEmail/files/1.56-openssl-1.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/sendEmail/files/1.56-openssl-1.1.patch')
-rw-r--r--net-mail/sendEmail/files/1.56-openssl-1.1.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mail/sendEmail/files/1.56-openssl-1.1.patch b/net-mail/sendEmail/files/1.56-openssl-1.1.patch
new file mode 100644
index 000000000000..ed5046451994
--- /dev/null
+++ b/net-mail/sendEmail/files/1.56-openssl-1.1.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/698322
+--- a/sendEmail
++++ b/sendEmail
+@@ -1903,7 +1903,7 @@
+ if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
+ printmsg("DEBUG => Starting TLS", 2);
+ if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
+- if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3', SSL_verify_mode => 0x00)) {
++ if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'TLSv1', SSL_verify_mode => 0x00)) {
+ quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
+ }
+ printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);