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 841497 - X509_subject_name_hash_old doesn't exist in RHEL7
Summary: X509_subject_name_hash_old doesn't exist in RHEL7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openssl
Version: 7.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: beta
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-19 07:59 UTC by Miroslav Vadkerti
Modified: 2012-07-19 11:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-19 11:08:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miroslav Vadkerti 2012-07-19 07:59:31 UTC
Description of problem:
During regression testing I found that there seems to be a typo in openssl X509_subject_name_hash_old symbol name. According to readelf the symbol ends with _ol not _old:

# readelf --symbols /lib64/libcrypto.so.10 | grep X509_subject_name_hash_
  1341: 0000004b177f399c    26 FUNC    GLOBAL DEFAULT   12 X509_subject_name_hash_ol@@libcrypto.so.10


Version-Release number of selected component (if applicable):
openssl-1.0.1c-1.el7

How reproducible:
100%

Steps to Reproduce:
1. readelf --symbols /lib64/libcrypto.so.10 | grep X509_subject_name_hash_old 
  
Actual results:
No symbol found

Expected results:
X509_subject_name_hash_old exists and works well

Additional info:

Comment 1 Tomas Mraz 2012-07-19 08:51:29 UTC
The names are truncated in the readelf output.

Comment 2 Miroslav Vadkerti 2012-07-19 10:59:45 UTC
That is possible, anyway the function seems to be missing. Had it been deprecated??

/bin/ld: /tmp/cc6Ic736.o: undefined reference to symbol 'X509_subject_name_hash_old@@libcrypto.so.10'
/bin/ld: note: 'X509_subject_name_hash_old@@libcrypto.so.10' is defined in DSO /lib64/libcrypto.so.10 so try adding it to the linker command line
/lib64/libcrypto.so.10: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
:: [   FAIL   ] :: Running 'gcc -lssl -o./bz568395 bz568395.c' (Expected 0, got 1)

Comment 3 Tomas Mraz 2012-07-19 11:08:13 UTC
That's a buggy gcc command line. You need -lcrypto.

Comment 4 Miroslav Vadkerti 2012-07-19 11:14:14 UTC
Thanks!


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