On Thu, Aug 29, 2002 at 05:21:39PM +1000, Reddie, Steven wrote: > We have some code that was working with OpenSSL 0.9.6d this morning. Now > that I've upgraded to 0.9.6g it's failing. > > OBJ_txt2nid("2.5.29.17") is now returning 0 instead of the expected 85 > (NID_subject_alt_name). > > OBJ_nid2sn(NID_subject_alt_name) does return "subjectAltName". > > It seems that the mapping is only broken in one direction. Is this a known > problem?
I did same skill yesterday. The problem arise with upgrade from 0.9.6e to 0.9.6g. Tracing call to OBJ_txt2nid() discover, that problem is around function ASN1_get_object() from asn1_lib.c:89. The length of object is erroneously treated as bad. Thereis probably bug. -- Zito ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]