summaryrefslogtreecommitdiffstats
path: root/crypto/err/openssl.txt
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-11-12 11:58:12 +0000
committerMatt Caswell <matt@openssl.org>2020-12-08 10:18:44 +0000
commit1ecc76f6746cefd502c7e9000bdfa4e5d7911386 (patch)
treebfef1dffa927150f5b35c0ddc6ac3362c8b398cd /crypto/err/openssl.txt
parentf960d81215ebf3f65e03d4d5d857fb9b666d6920 (diff)
Check that multi-strings/CHOICE types don't use implicit tagging
It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for reporting this issue. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Diffstat (limited to 'crypto/err/openssl.txt')
-rw-r--r--crypto/err/openssl.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt
index 0b5873ebbc..2f93221a86 100644
--- a/crypto/err/openssl.txt
+++ b/crypto/err/openssl.txt
@@ -1771,6 +1771,7 @@ ASN1_R_ASN1_PARSE_ERROR:203:asn1 parse error
ASN1_R_ASN1_SIG_PARSE_ERROR:204:asn1 sig parse error
ASN1_R_AUX_ERROR:100:aux error
ASN1_R_BAD_OBJECT_HEADER:102:bad object header
+ASN1_R_BAD_TEMPLATE:230:bad template
ASN1_R_BMPSTRING_IS_WRONG_LENGTH:214:bmpstring is wrong length
ASN1_R_BN_LIB:105:bn lib
ASN1_R_BOOLEAN_IS_WRONG_LENGTH:106:boolean is wrong length