Update to 1.985

- New upstream release 1.985
  - Make OCSP callback return 1 even if it was called on the server side
    because of bad setup of the socket; otherwise we get an endless calling of
    the OCSP callback
  - Consider an OCSP response that is not yet or no longer valid a soft error
    instead of an hard error
  - Fix skip in t/external/ocsp.t in case fingerprint does not match
  - Call EVP_PKEY_free not EVP_KEY_free in IO::Socket::SSL::Utils::KEY_free
    (CPAN RT#95633)
  - util/analyze.pl - with --show-chain check if chain with SNI is different
    from chain w/o SNI
- Drop ExtUtils::MakeMaker version requirement
This commit is contained in:
Paul Howarth 2014-05-15 13:03:34 +01:00
parent 91de4e03c6
commit e1aa44992f
3 changed files with 18 additions and 19 deletions

View File

@ -1,11 +0,0 @@
--- lib/IO/Socket/SSL/Utils.pm
+++ lib/IO/Socket/SSL/Utils.pm
@@ -93,7 +93,7 @@ sub CERT_free {
sub KEY_free {
my $key = shift or return;
- Net::SSLeay::EVP_KEY_free($key);
+ Net::SSLeay::EVP_PKEY_free($key);
}
sub KEY_create_rsa {

View File

@ -1,12 +1,11 @@
Name: perl-IO-Socket-SSL
Version: 1.984
Release: 2%{?dist}
Version: 1.985
Release: 1%{?dist}
Summary: Perl library for transparent SSL
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/IO-Socket-SSL/
Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
Patch0: IO-Socket-SSL-1.984-key-free.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: openssl >= 0.9.8
@ -15,7 +14,7 @@ BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.46
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket)
BuildRequires: perl(IO::Socket::INET)
@ -59,9 +58,6 @@ mod_perl.
%prep
%setup -q -n IO-Socket-SSL-%{version}
# Fix typo in Utils.pm (#1097640, CPAN RT#95633)
%patch0
%build
echo n | perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@ -87,6 +83,20 @@ rm -rf %{buildroot}
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
%changelog
* Thu May 15 2014 Paul Howarth <paul@city-fan.org> - 1.985-1
- Update to 1.985
- Make OCSP callback return 1 even if it was called on the server side
because of bad setup of the socket; otherwise we get an endless calling of
the OCSP callback
- Consider an OCSP response that is not yet or no longer valid a soft error
instead of an hard error
- Fix skip in t/external/ocsp.t in case fingerprint does not match
- Call EVP_PKEY_free not EVP_KEY_free in IO::Socket::SSL::Utils::KEY_free
(CPAN RT#95633)
- util/analyze.pl - with --show-chain check if chain with SNI is different
from chain w/o SNI
- Drop ExtUtils::MakeMaker version requirement
* Wed May 14 2014 Paul Howarth <paul@city-fan.org> - 1.984-2
- Fix typo in Utils.pm (#1097640, CPAN RT#95633)

View File

@ -1 +1 @@
d2a2554c9394fb774d37ed7e14a8d172 IO-Socket-SSL-1.984.tar.gz
7ed8bab5859c20a44782e0799ae762a2 IO-Socket-SSL-1.985.tar.gz