diff options
| author | jsing <> | 2022-05-17 19:09:16 +0000 |
|---|---|---|
| committer | jsing <> | 2022-05-17 19:09:16 +0000 |
| commit | fc5385b25abd9fd1a81574cc0a2b4c058dce1670 (patch) | |
| tree | 676a4511890618bc9cee65df2e48c88fd13a907b /src/lib/libcrypto/dsa/dsa_pmeth.c | |
| parent | c234262690283f0ecbcadd6686715a19a276df89 (diff) | |
| download | openbsd-fc5385b25abd9fd1a81574cc0a2b4c058dce1670.tar.gz openbsd-fc5385b25abd9fd1a81574cc0a2b4c058dce1670.tar.bz2 openbsd-fc5385b25abd9fd1a81574cc0a2b4c058dce1670.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/libcrypto/dsa/dsa_pmeth.c')
0 files changed, 0 insertions, 0 deletions
