Skip to content

Commit

Permalink
Fix STARTTLS vulnerability for async
Browse files Browse the repository at this point in the history
  • Loading branch information
baudehlo committed Jun 2, 2011
1 parent b7668c0 commit 5200244
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/tls
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ sub upgrade_socket {
my UpgradeClientSSL $self = shift;

unless ( $self->{_ssl_started} ) {
$self->{_stashed_qp}->clear_data();
IO::Socket::SSL->start_SSL(
$self->{_stashed_qp}->{sock}, {
SSL_use_cert => 1,
Expand Down

0 comments on commit 5200244

Please sign in to comment.