forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
649 B
Text
11 lines
649 B
Text
--- ./sendEmail.orig 2012-06-05 01:35:29.000000000 +0300
|
|
+++ ./sendEmail 2012-06-05 01:36:44.000000000 +0300
|
|
@@ -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)) {
|
|
quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
|
|
}
|
|
printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);
|