CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2022/03/02 04:28:00
Modified files: lib/libcrypto/asn1: a_object.c asn1_locl.h lib/libcrypto/objects: obj_dat.c Log message: Rewrite ASN1_OBJECT content to ascii/text conversion. Rewrite the ASN1_OBJECT content to ascii/text conversion code using CBB and CBS. Currently there is a strange split with i2t_ASN1_OBJECT() calling OBJ_obj2txt() which implements the conversion, while OBJ_txt2obj() calls back into the misnamed a2d_ASN1_OBJECT() function. Move the conversion code into asn1/a_object.c and have OBJ_txt2obj() call that instead. ok inoguchi@ tb@