SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
devel/p5-AnyEvent/patches/patch-lib_AnyEvent_TLS_pm
Normal file
14
devel/p5-AnyEvent/patches/patch-lib_AnyEvent_TLS_pm
Normal file
|
@ -0,0 +1,14 @@
|
|||
LibreSSL uses TLS 1.3. This is not expected by AnyEvent. Especially
|
||||
an EPIPE error confuses the t/80_ssltest.t test.
|
||||
|
||||
Index: lib/AnyEvent/TLS.pm
|
||||
--- lib/AnyEvent/TLS.pm.orig
|
||||
+++ lib/AnyEvent/TLS.pm
|
||||
@@ -629,6 +629,7 @@ sub new {
|
||||
|
||||
my $op = Net::SSLeay::OP_ALL ();
|
||||
|
||||
+ $op |= Net::SSLeay::OP_NO_TLSv1_3 (); # LibreSSL EPIPE is not expected
|
||||
$op |= Net::SSLeay::OP_NO_SSLv2 () unless $arg{sslv2};
|
||||
$op |= Net::SSLeay::OP_NO_SSLv3 () if exists $arg{sslv3} && !$arg{sslv3};
|
||||
$op |= Net::SSLeay::OP_NO_TLSv1 () if exists $arg{tlsv1} && !$arg{tlsv1};
|
Loading…
Add table
Add a link
Reference in a new issue