diff options
author | Matt Caswell <matt@openssl.org> | 2020-11-12 14:55:31 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-12-08 10:17:03 +0000 |
commit | 3db2c9f3e5fb9f649ebb4a55918398756310af43 (patch) | |
tree | 0e860efd99434235ead43af88468396a38cd4736 /test/asn1_encode_test.c | |
parent | 43a7033a010feaf72c79d39df65ca733fb9dcd4c (diff) |
Complain if we are attempting to encode with an invalid ASN.1 template
It never makes sense for multi-string or CHOICE types to have implicit
tagging. If we have a template that uses the in this way then we
should immediately fail.
Thanks to David Benjamin from Google for reporting this issue.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Diffstat (limited to 'test/asn1_encode_test.c')
0 files changed, 0 insertions, 0 deletions