RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1097710 - IO::Socket:SSL::Utils::KEY_free() dies with: Can't locate auto/Net/SSLeay/EVP_KEY_fre.al
Summary: IO::Socket:SSL::Utils::KEY_free() dies with: Can't locate auto/Net/SSLeay/EVP...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl-IO-Socket-SSL
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jitka Plesnikova
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks: 1289025 1305230
TreeView+ depends on / blocked
 
Reported: 2014-05-14 11:52 UTC by Petr Pisar
Modified: 2016-11-04 00:21 UTC (History)
2 users (show)

Fixed In Version: perl-IO-Socket-SSL-1.94-4.el7
Doc Type: Bug Fix
Doc Text:
Cause: Use function KEY_free Consequence: Failed due to typo in the function Fix: Fix the typo. Replace Net::SSLeay::EVP_KEY_free by Net::SSLeay::EVP_PKEY_free Result: Using of KEY_free does not failed
Clone Of: 1097640
Environment:
Last Closed: 2016-11-04 00:21:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix (250 bytes, patch)
2014-05-14 11:53 UTC, Petr Pisar
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
CPAN 95633 0 None None None Never
Red Hat Product Errata RHBA-2016:2201 0 normal SHIPPED_LIVE perl-IO-Socket-SSL bug fix and enhancement update 2016-11-03 13:22:24 UTC

Description Petr Pisar 2014-05-14 11:52:09 UTC
+++ This bug was initially created as a clone of Bug #1097640 +++

$ 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.

--- Additional comment from Paul Howarth on 2014-05-14 09:36:22 GMT ---

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...

--- Additional comment from Petr Pisar on 2014-05-14 09:52:32 GMT ---

Yes. This works even in bigger picture. Thank you.

---

RHEL-7 (perl-IO-Socket-SSL-1.94-3.el7.noarch) is affected too.

Comment 1 Petr Pisar 2014-05-14 11:53:45 UTC
Created attachment 895465 [details]
Fix

Comment 4 Jitka Plesnikova 2016-03-04 15:09:03 UTC
How to test:

1) install perl and perl-IO-Socket-SSL

2) Run command
perl -MIO::Socket::SSL::Utils -e 'KEY_free(KEY_create_rsa())'

3) The output should be empty

Comment 8 errata-xmlrpc 2016-11-04 00:21:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2201.html


Note You need to log in before you can comment on or make changes to this bug.