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
This commit is contained in:
Paul Howarth 2014-01-15 12:27:57 +00:00
parent bd95528fce
commit 32a9e5c547
3 changed files with 13 additions and 19 deletions

View File

@ -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)

View File

@ -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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 1.57-1
- Update to 1.57
- Fixed remaining problems with test suite: pod coverage and kwalitee tests

View File

@ -1 +1 @@
c0f359c7b0816e44a89fadd198c6563c Net-SSLeay-1.57.tar.gz
fdd09b065e46aa3482f80d7ed7044e38 Net-SSLeay-1.58.tar.gz