diff options
author | jsing <> | 2022-04-27 17:42:08 +0000 |
---|---|---|
committer | jsing <> | 2022-04-27 17:42:08 +0000 |
commit | 9b4f52bd67002c10a6a97a6b20cb7c61be0a2cee (patch) | |
tree | a5428a80984a8a541bb3cf621d5ae890ff0dfcff /src/regress/lib/libcrypto/asn1/asn1basic.c | |
parent | 066ee7e25f2f9510191df30325a50ed15a2b910a (diff) | |
download | openbsd-9b4f52bd67002c10a6a97a6b20cb7c61be0a2cee.tar.gz openbsd-9b4f52bd67002c10a6a97a6b20cb7c61be0a2cee.tar.bz2 openbsd-9b4f52bd67002c10a6a97a6b20cb7c61be0a2cee.zip |
Rewrite c2i_ASN1_INTEGER() using CBS.
This also makes validation stricter and inline with X.690 - we now reject
zero length inputs (rather than treating them as zero values) and enforce
minimal encoding.
ok tb@
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/asn1basic.c')
0 files changed, 0 insertions, 0 deletions