mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
13 lines
460 B
Diff
13 lines
460 B
Diff
|
diff -urN a/lib/AnyEvent/Handle.pm b/lib/AnyEvent/Handle.pm
|
||
|
--- a/lib/AnyEvent/Handle.pm 2016-01-07 10:01:45.000000000 +0000
|
||
|
+++ b/lib/AnyEvent/Handle.pm 2017-04-27 01:33:17.600679762 +0000
|
||
|
@@ -2130,7 +2130,7 @@
|
||
|
}
|
||
|
|
||
|
$self->{_on_starttls}
|
||
|
- and Net::SSLeay::state ($self->{tls}) == Net::SSLeay::ST_OK ()
|
||
|
+ and Net::SSLeay::state ($self->{tls}) == 1
|
||
|
and (delete $self->{_on_starttls})->($self, 1, "TLS/SSL connection established");
|
||
|
}
|
||
|
|