Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed support for Net::SSLeay 1.55
  • Loading branch information
kraih committed Oct 16, 2013
1 parent d59dd85 commit 24a684f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,5 +1,6 @@

4.48 2013-10-16
- Fixed support for Net::SSLeay 1.55.

4.47 2013-10-15
- Added dumper function to Mojo::Util.
Expand Down
4 changes: 1 addition & 3 deletions lib/Mojo/IOLoop/Server.pm
Expand Up @@ -87,7 +87,7 @@ sub listen {
return unless $args->{tls};
croak "IO::Socket::SSL 1.75 required for TLS support" unless TLS;

# Prioritize RC4 to mitigate BEAST attack and use Perfect Forward Secrecy
# Prioritize RC4 to mitigate BEAST attack
my $options = $self->{tls} = {
SSL_cert_file => $args->{tls_cert} || $CERT,
SSL_cipher_list =>
Expand All @@ -97,8 +97,6 @@ sub listen {
SSL_startHandshake => 0,
SSL_verify_mode => 0x00
};
$options->{SSL_ecdh_curve} = 'prime256v1'
if Net::SSLeay::OPENSSL_VERSION_NUMBER() >= 0x01000000;
return unless $args->{tls_ca};
$options->{SSL_ca_file} = -T $args->{tls_ca} ? $args->{tls_ca} : undef;
$options->{SSL_verify_mode}
Expand Down

0 comments on commit 24a684f

Please sign in to comment.