Rewrite asn1_enc_save() using CBS.
authorjsing <jsing@openbsd.org>
Thu, 12 May 2022 19:33:19 +0000 (19:33 +0000)
committerjsing <jsing@openbsd.org>
Thu, 12 May 2022 19:33:19 +0000 (19:33 +0000)
commitb3e79a77cfb5db756bb740c48e65035edb7893f3
tree89eff559a2c10ffc0fc9250ca1eb90ae96fdb67e
parent515d0ec8f042562c281242793115c9b61bd2b8ab
Rewrite asn1_enc_save() using CBS.

Rework and clean up other asn1_enc_* related functions while here.

ok tb@
lib/libcrypto/asn1/asn1_locl.h
lib/libcrypto/asn1/tasn_dec.c
lib/libcrypto/asn1/tasn_utl.c