summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/asn1basic.c
diff options
context:
space:
mode:
authorjsing <>2022-04-27 17:42:08 +0000
committerjsing <>2022-04-27 17:42:08 +0000
commit1dab1c519c285b7655ab6fa3196fe83b7b110a56 (patch)
treea5428a80984a8a541bb3cf621d5ae890ff0dfcff /src/regress/lib/libcrypto/asn1/asn1basic.c
parenta8d2bb1f6939a805dcd605eb24d943001c518eba (diff)
downloadopenbsd-1dab1c519c285b7655ab6fa3196fe83b7b110a56.tar.gz
openbsd-1dab1c519c285b7655ab6fa3196fe83b7b110a56.tar.bz2
openbsd-1dab1c519c285b7655ab6fa3196fe83b7b110a56.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