diff options
author | jsing <> | 2022-05-17 19:09:16 +0000 |
---|---|---|
committer | jsing <> | 2022-05-17 19:09:16 +0000 |
commit | 422d86c6404e0488f549a5e1def8849243e656c6 (patch) | |
tree | 676a4511890618bc9cee65df2e48c88fd13a907b /src/lib/libc/stdlib/system.c | |
parent | 440516cf733a3d776a7133a827812490af8d75e1 (diff) | |
download | openbsd-422d86c6404e0488f549a5e1def8849243e656c6.tar.gz openbsd-422d86c6404e0488f549a5e1def8849243e656c6.tar.bz2 openbsd-422d86c6404e0488f549a5e1def8849243e656c6.zip |
Refactor asn1_d2i_ex_primitive()
Split the object content handling off into asn1_d2i_ex_primitive_content(),
move the handling ov V_ASN1_ANY into asn1_d2i_ex_any() and move the MSTRING
handling into asn1_d2i_ex_mstring(). This way we parse the header once
(rather than twice for ANY and MSTRING), then process the content, while
also avoiding complex special cases in a single code path.
ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions