Bug 1097640

Summary: IO::Socket:SSL::Utils::KEY_free() dies with: Can't locate auto/Net/SSLeay/EVP_KEY_fre.al
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-IO-Socket-SSLAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jose.p.oliveira.oss, paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-IO-Socket-SSL-1.955-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1097710 (view as bug list) Environment:
Last Closed: 2014-05-21 23:32:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Possible fix none

Description Petr Pisar 2014-05-14 08:34:46 UTC
$ 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.

$ rpm -q perl-IO-Socket-SSL perl-Net-SSLeay
perl-IO-Socket-SSL-1.984-1.fc21.noarch
perl-Net-SSLeay-1.61-1.fc21.x86_64

This is probably a bug in perl-Net-SSLeay.

The same issue is in Fedora 20.

Comment 1 Paul Howarth 2014-05-14 09:36:22 UTC
Created attachment 895420 [details]
Possible fix

I think it's a typo in Utils.pm

Can you give the attached patch a try? It works for the test case in this ticket but I'm sure you'll have a better one...

Comment 2 Petr Pisar 2014-05-14 09:52:32 UTC
Yes. This works even in bigger picture. Thank you.

Comment 3 Fedora Update System 2014-05-14 11:29:35 UTC
perl-IO-Socket-SSL-1.955-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-IO-Socket-SSL-1.955-2.fc20

Comment 4 Fedora Update System 2014-05-14 23:57:27 UTC
Package perl-IO-Socket-SSL-1.955-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-IO-Socket-SSL-1.955-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6355/perl-IO-Socket-SSL-1.955-2.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-05-21 23:32:13 UTC
perl-IO-Socket-SSL-1.955-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.