Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added sslversion argument, defaulted to sslv2/3
  • Loading branch information
Chris Ridd committed Oct 1, 2001
1 parent d0675fd commit 5ec70e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Net/LDAPS.pm
Expand Up @@ -55,7 +55,8 @@ sub SSL_context_init_args {
SSL_use_cert => $clientcert ? 1 : 0,
SSL_cert_file => $clientcert,
SSL_verify_mode => $verify,
SSL_version => 'sslv2/3',
SSL_version => defined $arg->{'sslversion'} ? $arg->{'sslversion'} :
'sslv2/3',
);
}

Expand Down

0 comments on commit 5ec70e9

Please sign in to comment.