update p5-Net-SSLeay to 1.85

enable test for LibreSSL that was disabled for OpenSSL >= 1.1.0e
This commit is contained in:
bluhm 2018-03-18 16:47:58 +00:00
parent 6a839221fc
commit d8dd4b0d6d
3 changed files with 23 additions and 7 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.68 2018/02/03 17:37:12 bluhm Exp $ # $OpenBSD: Makefile,v 1.69 2018/03/18 16:47:58 bluhm Exp $
COMMENT = perl module for using OpenSSL COMMENT = perl module for using OpenSSL
DISTNAME = Net-SSLeay-1.84 DISTNAME = Net-SSLeay-1.85
CATEGORIES = security CATEGORIES = security
HOMEPAGE = http://alioth.debian.org/projects/net-ssleay HOMEPAGE = http://alioth.debian.org/projects/net-ssleay
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org> MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>

View File

@ -1,2 +1,2 @@
SHA256 (Net-SSLeay-1.84.tar.gz) = gj7Dy7QoMJ1qnlbzYqkwBpPOMhW3/t4Qmtt742H/8Xc= SHA256 (Net-SSLeay-1.85.tar.gz) = nYGIufscrjvXkZecIFVJJdXpShONAEFPGmgUVJknsMg=
SIZE (Net-SSLeay-1.84.tar.gz) = 418214 SIZE (Net-SSLeay-1.85.tar.gz) = 418349

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-t_local_33_x509_create_cert_t,v 1.3 2018/03/18 16:47:58 bluhm Exp $
Index: t/local/33_x509_create_cert.t
--- t/local/33_x509_create_cert.t.orig
+++ t/local/33_x509_create_cert.t
@@ -299,7 +299,9 @@ SKIP: { ### X509 certificate - unicode
SKIP:
{
- skip 'd2i_X509_bio fails for openssl-1.1.0e and later', 1 unless Net::SSLeay::SSLeay < 0x1010005f;
+ skip 'd2i_X509_bio fails for openssl-1.1.0e and later', 1
+ unless Net::SSLeay::SSLeay < 0x1010005f
+ or Net::SSLeay::constant("LIBRESSL_VERSION_NUMBER");
ok(my $x509 = Net::SSLeay::d2i_X509_bio($bio2), "d2i_X509_bio");
}
}