]> git.ipfire.org Git - thirdparty/openssl.git/commit
Complain if we are attempting to encode with an invalid ASN.1 template
authorMatt Caswell <matt@openssl.org>
Thu, 12 Nov 2020 14:55:31 +0000 (14:55 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 8 Dec 2020 10:17:03 +0000 (10:17 +0000)
commit3db2c9f3e5fb9f649ebb4a55918398756310af43
tree0e860efd99434235ead43af88468396a38cd4736
parent43a7033a010feaf72c79d39df65ca733fb9dcd4c
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>
crypto/asn1/tasn_enc.c