mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
59a9476e94
- recent versions of p5-IO-Socket-SSL defaut to SSLv2, SSLv3 and TLSv1 support for initial protocol handshakes, with SSLv2 not be accepted, actually leaving only SSLv3 and TLSv1. So there's no need to set the SSL version explicitly when calling IO::Socket::SSL->start_SSL() anymore (and actually this way we're a bit more compatible with various server outhere). - bump PORTREVISION - drop a custom CVS keyword as I'm not using my CVS to maintain ports since .. well, since I became a commiter :) Reported by: Gerard Seibert <gerard@seibercom.net>, "saberx.geo" <ollie@orobouros.net>, Carmel <carmel_ny@hotmail.com>
12 lines
649 B
Plaintext
12 lines
649 B
Plaintext
--- ./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);
|