diff options
author | Greg Hogan <code@greghogan.com> | 2025-03-21 18:03:45 +0000 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:31 +0200 |
commit | 514d5fbca9e7c193966c1825671f497554426c52 (patch) | |
tree | f47332eb8917e1ca6223b1925bfd244b5211b664 /gnu/packages/patches/perl-net-ssleay-colon-parsing.patch | |
parent | 87af165a9ee91b25f040c8524ac22cc2bc340d24 (diff) |
gnu: perl-net-ssleay: Update to 1.94.
* gnu/packages/patches/perl-net-ssleay-colon-parsing.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (perl-net-ssleay): Update to 1.94.
[source](origin): Add patch.
Change-Id: Ie4b8bc713618fb72e86c07860fab30e47b96dc76
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/perl-net-ssleay-colon-parsing.patch')
-rw-r--r-- | gnu/packages/patches/perl-net-ssleay-colon-parsing.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/patches/perl-net-ssleay-colon-parsing.patch b/gnu/packages/patches/perl-net-ssleay-colon-parsing.patch new file mode 100644 index 0000000000..532271cc3f --- /dev/null +++ b/gnu/packages/patches/perl-net-ssleay-colon-parsing.patch @@ -0,0 +1,28 @@ +From e73cf1139a6651a968828d1634be8fec5beb50ba Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> +Date: Wed, 16 Oct 2024 21:48:51 +0200 +Subject: [PATCH] test: 32_x509_get_cert_info allow single colon. + +Starting with 3.4.0 the double colon in emailAddress has been removed. +Adapt the test to allow a single colon in 3.4.0 and later. + +Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> +--- + t/local/32_x509_get_cert_info.t | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t +index 0f7e2d5a..0fd1b689 100644 +--- a/t/local/32_x509_get_cert_info.t ++++ b/t/local/32_x509_get_cert_info.t +@@ -188,6 +188,10 @@ for my $f (keys (%$dump)) { + ) { + $ext_data =~ s{(othername:) [^, ]+}{$1<unsupported>}g; + } ++ # Starting with 3.4.0 the double colon in emailAddress has been removed. ++ if (Net::SSLeay::SSLeay >= 0x30400000) { ++ $ext_data =~ s{emailAddress::}{emailAddress:}; ++ } + } + elsif ( $nid == 89 ) { + # The output formatting for certificate policies has a |