[perl-IO-Socket-SSL/f20] Fix typo in Utils.pm (#1097640, CPAN RT#95633)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3b9ca03aeb16613ef46db3dc5c4fbe18de8c8984
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Wed May 14 11:56:53 2014 +0100

    Fix typo in Utils.pm (#1097640, CPAN RT#95633)
    
    $ perl -MIO::Socket::SSL::Utils -e 'KEY_free(KEY_create_rsa())'
    Can't locate auto/Net/SSLeay/EVP_KEY_fre.al in @INC (@INC contains:
    /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
    /usr/share/perl5/vendor_perl/IO/Socket/SSL/Utils.pm line 96.
    
    Net::SSLeay::EVP_KEY_free should be Net::SSLeay::EVP_PKEY_free.

 IO-Socket-SSL-1.955-key-free.patch |   11 +++++++++++
 perl-IO-Socket-SSL.spec            |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/IO-Socket-SSL-1.955-key-free.patch b/IO-Socket-SSL-1.955-key-free.patch
new file mode 100644
index 0000000..b4cb55d
--- /dev/null
+++ b/IO-Socket-SSL-1.955-key-free.patch
@@ -0,0 +1,11 @@
+--- lib/IO/Socket/SSL/Utils.pm
++++ lib/IO/Socket/SSL/Utils.pm
+@@ -94,7 +94,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 {
diff --git a/perl-IO-Socket-SSL.spec b/perl-IO-Socket-SSL.spec
index c2a2720..c4c6b08 100644
--- a/perl-IO-Socket-SSL.spec
+++ b/perl-IO-Socket-SSL.spec
@@ -1,11 +1,12 @@
 Name:		perl-IO-Socket-SSL
 Version:	1.955
-Release:	1%{?dist}
+Release:	2%{?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.955-key-free.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	openssl >= 0.9.8
@@ -46,6 +47,9 @@ mod_perl.
 %prep
 %setup -q -n IO-Socket-SSL-%{version}
 
+# Fix typo in Utils.pm (#1097640, CPAN RT#95633)
+%patch0
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -70,6 +74,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/IO::Socket::SSL::Utils.3pm*
 
 %changelog
+* Wed May 14 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.955-2
+- Fix typo in Utils.pm (#1097640, CPAN RT#95633)
+
 * Wed Nov 13 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.955-1
 - Switch back to upstream versioning scheme
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux