summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/cms.c
diff options
context:
space:
mode:
authorjsing <>2022-03-19 17:49:32 +0000
committerjsing <>2022-03-19 17:49:32 +0000
commit2b63d13b51dbcbb4817452fa7523918d166ddd55 (patch)
treed6cf88609bfc19f0101b68dd40457a903ba5c53a /src/usr.bin/openssl/cms.c
parent793e322b4548e3dbab3b7f67090240e5d25ba937 (diff)
downloadopenbsd-2b63d13b51dbcbb4817452fa7523918d166ddd55.tar.gz
openbsd-2b63d13b51dbcbb4817452fa7523918d166ddd55.tar.bz2
openbsd-2b63d13b51dbcbb4817452fa7523918d166ddd55.zip
Provide t2i_ASN1_OBJECT_internal() and use it for OBJ_txt2obj()
The current OBJ_txt2obj() implementation converts the text to ASN.1 object content octets, builds a full DER encoding from it, then feeds the entire thing back through the DER to ASN.1 object conversion. Rather than doing this crazy dance, provide an t2i_ASN1_OBJECT_internal() function that converts the text to ASN.1 object content octets, then creates a new ASN1_OBJECT and attaches the content octets to it. ok inoguchi@ tb@
Diffstat (limited to 'src/usr.bin/openssl/cms.c')
0 files changed, 0 insertions, 0 deletions