gentoo-ebuilds/net-mail/sendEmail/files/1.56-overzealous-version-check.patch
Sam James 9e3066af4d
net-mail/sendEmail: restore bug ref in patches
Bug: https://bugs.gentoo.org/698322
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-11 01:17:44 +01:00

12 lines
627 B
Diff

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 TLSv1')) {
+ if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3')) {
quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
}
printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);