I was looking at why my perl sorts the nids in obj_dat.h in a different order than what's in the repository. In my crypto/objects/obj_dat.h I see: &(nid_objs[125]),/* OBJ_zlib_compression 1 1 1 1 666.2 */ &(nid_objs[124]),/* OBJ_rle_compression 1 1 1 1 666.1 */ and 0x29,0x01,0x01,0x85,0x1A, /* [600] OBJ_rle_compression */ 0x29,0x01,0x01,0x85,0x1A, /* [605] OBJ_zlib_compression */ The code in function der_it() in obj_dat.pl interprets each symbol as a straight integer. So it essentially ignores the .1 in 666.1 and the two nids end up with the same der encoding and their sort order is unspecified. I'm ignorant about nids and ASN1 encoding, but shouldn't different nids have unique encoding? What do the .1 and .2 mean (vs "666 1", for example)? ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
