Split asn1_item_ex_d2i() into three.
authorjsing <jsing@openbsd.org>
Sat, 7 May 2022 15:50:25 +0000 (15:50 +0000)
committerjsing <jsing@openbsd.org>
Sat, 7 May 2022 15:50:25 +0000 (15:50 +0000)
commit444ada8357fa531032a7ab3a03d07de3f7d2a47f
treec5e0984b7cf578ac04bd459aa50d20001949e3bc
parent8e294713258d93fa19b7f8adcec546e23e1f5402
Split asn1_item_ex_d2i() into three.

Factor out the handling of CHOICE and SEQUENCE into their own functions.
This reduces complexity, reduces indentation and will allow for further
clean up.

ok beck@ tb@
lib/libcrypto/asn1/tasn_dec.c