From 32a9e5c5475d44e1ec9aa06373f1009cd3c41310 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 15 Jan 2014 12:27:57 +0000 Subject: [PATCH] Update to 1.58 - New upstream release 1.58 - always use size_t for strlen() return value - t/external/20_cert_chain.t was missing from dist - version number in META.yml was incorrect - improvements to test t/external/20_cert_chain.t to provoke following bug: fixed crash due to SSL_get_peer_cert_chain incorrectly free'ing the chain after use - fixed a problem when compiling against openssl where OPENSSL_NO_EC is set - Drop Fedora/EL ECC support patch, no longer needed --- Net-SSLeay-1.56-ECC.patch | 13 ------------- perl-Net-SSLeay.spec | 17 ++++++++++++----- sources | 2 +- 3 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 Net-SSLeay-1.56-ECC.patch diff --git a/Net-SSLeay-1.56-ECC.patch b/Net-SSLeay-1.56-ECC.patch deleted file mode 100644 index c1c6180..0000000 --- a/Net-SSLeay-1.56-ECC.patch +++ /dev/null @@ -1,13 +0,0 @@ -# Red Hat / Fedora OpenSSL builds didn't have ECC support until 1.0.1e -# in EL-6/F-18 updates ---- SSLeay.xs -+++ SSLeay.xs -@@ -4221,7 +4221,7 @@ - SSL_CTX * ctx - RSA * rsa - --#if OPENSSL_VERSION_NUMBER > 0x10000000L -+#if OPENSSL_VERSION_NUMBER > 0x10001050L - - EC_KEY * - EC_KEY_new_by_curve_name(nid) diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index 30fa2e4..39543dd 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -1,12 +1,11 @@ Name: perl-Net-SSLeay -Version: 1.57 +Version: 1.58 Release: 1%{?dist} Summary: Perl extension for using OpenSSL Group: Development/Libraries License: OpenSSL URL: http://search.cpan.org/dist/Net-SSLeay/ Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz -Patch0: Net-SSLeay-1.56-ECC.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRequires: openssl, openssl-devel # =========== Module Build =========================== @@ -47,9 +46,6 @@ so you can write servers or clients for more complicated applications. %prep %setup -q -n Net-SSLeay-%{version} -# ECC support not available in Fedora/EL until OpenSSL 1.0.1e -%patch0 - # Fix permissions in examples to avoid bogus doc-file dependencies chmod -c 644 examples/* @@ -90,6 +86,17 @@ rm -rf %{buildroot} %{_mandir}/man3/Net::SSLeay::Handle.3pm* %changelog +* Wed Jan 15 2014 Paul Howarth - 1.58-1 +- Update to 1.58 + - Always use size_t for strlen() return value + - t/external/20_cert_chain.t was missing from dist + - Version number in META.yml was incorrect + - Improvements to test t/external/20_cert_chain.t to provoke following bug: + fixed crash due to SSL_get_peer_cert_chain incorrectly free'ing the chain + after use + - Fixed a problem when compiling against openssl where OPENSSL_NO_EC is set +- Drop Fedora/EL ECC support patch, no longer needed + * Sun Jan 12 2014 Paul Howarth - 1.57-1 - Update to 1.57 - Fixed remaining problems with test suite: pod coverage and kwalitee tests diff --git a/sources b/sources index ec345a2..77453d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c0f359c7b0816e44a89fadd198c6563c Net-SSLeay-1.57.tar.gz +fdd09b065e46aa3482f80d7ed7044e38 Net-SSLeay-1.58.tar.gz