update p5-IO-Socket-SSL to 2.075

This commit is contained in:
bluhm 2022-09-05 20:36:34 +00:00
parent 0b014a2782
commit 5eaf2d93ed
4 changed files with 4 additions and 32 deletions

View File

@ -1,12 +1,12 @@
COMMENT = Perl SSL sockets with IO::Socket interface
DISTNAME = IO-Socket-SSL-2.074
DISTNAME = IO-Socket-SSL-2.075
CATEGORIES = security
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# perl
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan

View File

@ -1,2 +1,2 @@
SHA256 (IO-Socket-SSL-2.074.tar.gz) = Nkhra+SdpNApgZz3Bpp7Qe1IrwyH4jvg+Oaroj0IqDI=
SIZE (IO-Socket-SSL-2.074.tar.gz) = 252821
SHA256 (IO-Socket-SSL-2.075.tar.gz) = ww7iIgseGBqWjrvIGGHQyt8zSwATd6RBBa5ahjfdrow=
SIZE (IO-Socket-SSL-2.075.tar.gz) = 253142

View File

@ -1,14 +0,0 @@
LibreSSL does not support session resume with TLS 1.3.
Index: t/session_ticket.t
--- t/session_ticket.t.orig
+++ t/session_ticket.t
@@ -59,6 +59,8 @@ my $clctx = IO::Socket::SSL::SSL_Context->new(
# versions of Net::SSLeay with support for SESSION_up_ref have also the
# other functionality needed for proper TLS 1.3 session handling
+ Net::SSLeay::constant("LIBRESSL_VERSION_NUMBER") ?
+ (SSL_version => 'TLSv1_2') :
defined(&Net::SSLeay::SESSION_up_ref) ? ()
: (SSL_version => 'SSLv23:!TLSv1_3:!SSLv3:!SSLv2'),
);

View File

@ -1,14 +0,0 @@
LibreSSL does not support session resume with TLS 1.3.
Index: t/sessions.t
--- t/sessions.t.orig
+++ t/sessions.t
@@ -48,6 +48,8 @@ sub client {
SSL_session_cache_size => 100,
# versions of Net::SSLeay with support for SESSION_up_ref have also the
# other functionality needed for proper TLS 1.3 session handling
+ Net::SSLeay::constant("LIBRESSL_VERSION_NUMBER") ?
+ (SSL_version => 'TLSv1_2') :
defined(&Net::SSLeay::SESSION_up_ref) ? ()
: (SSL_version => 'SSLv23:!TLSv1_3:!SSLv3:!SSLv2'),
);