This is a resubmission of the redhat bugzilla report 
https://bugzilla.redhat.com/show_bug.cgi?id=479767 
  to upstream developers.

Description of problem:

Calls to OBJ_txt2nid for a non-registered objects adds bogus "first  
num too large" errors from a2d_ASN1_OBJECT.

Version-Release number of selected component (if applicable):
0.9.8b-14.fc6
0.9.8b-15.fc7
0.9.8b-17.fc8
0.9.8g-9.12.fc9
0.9.8g-12.fc10
0.9.8b-8.3.el5

How reproducible:
Always

Steps to Reproduce:
1. Compile and run the attached test as follows
2. g++ -o openssltest openssltest.cpp -lssl
3. ./openssltest

Actual results:
OBJ_txt2nid: 17
OBJ_txt2nid: 0
first num too large
a2d_ASN1_OBJECT

Expected results:
OBJ_txt2nid: 17
OBJ_txt2nid: 0

Additional info:
These versions do not have this issue:
0.9.7a-20.6.legacy (RH9)
0.9.7a-33.13.legacy (FC1)
0.9.7a-35.2.legacy (FC2)
0.9.7a-42.2 (FC3)
0.9.7f-7.10 (FC4)
0.9.8a-5.4 (FC5)
0.9.7a-33.23 (RHEL3)
0.9.7a-43.17.el4_6.1

It looks like the problems was introduced when transitioning from  
0.9.8a to 0.9.8b.

(See the attachment to the redhat bugzilla report for the test program)

Compiling the test program against the 0.9.8j version compiled from  
the source tarball shows the same issue.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to