SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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};