openssl/crypto/asn1
Matt Caswell 3db2c9f3e5 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>
2020-12-08 10:17:03 +00:00
..
a_bitstr.c Update copyright year 2020-11-26 14:18:57 +00:00
a_d2i_fp.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_digest.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_dup.c X509_dup: fix copying of libctx and propq using new ASN1_OP_DUP_POST cb operation 2020-11-27 16:53:32 +01:00
a_gentm.c Update copyright year 2020-04-23 13:55:52 +01:00
a_i2d_fp.c Update copyright year 2020-11-26 14:18:57 +00:00
a_int.c Fix instances of pointer addition with the NULL pointer 2020-11-30 10:37:14 +00:00
a_mbstr.c Update copyright year 2020-11-26 14:18:57 +00:00
a_object.c Update copyright year 2020-11-26 14:18:57 +00:00
a_octet.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
a_print.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
a_sign.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_strex.c Update copyright year 2020-11-26 14:18:57 +00:00
a_strnid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_time.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_type.c Reorganize local header files 2019-09-28 20:26:35 +02:00
a_utctm.c Update copyright year 2020-04-23 13:55:52 +01:00
a_utf8.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
a_verify.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
ameth_lib.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn1_err.c Check that multi-strings/CHOICE types don't use implicit tagging 2020-12-08 10:17:03 +00:00
asn1_gen.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn1_item_list.c Update copyright year 2020-11-26 14:18:57 +00:00
asn1_item_list.h Deprecate RSA harder 2020-11-18 23:38:34 +01:00
asn1_lib.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn1_local.h Reorganize local header files 2019-09-28 20:26:35 +02:00
asn1_par.c remove unused assignments 2020-12-03 11:21:33 +10:00
asn_mime.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_moid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn_mstbl.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_pack.c Update copyright year 2020-11-26 14:18:57 +00:00
bio_asn1.c Update copyright year 2020-11-26 14:18:57 +00:00
bio_ndef.c remove unused return value assignments 2020-12-03 11:21:33 +10:00
build.info Adapt libcrypto functionality to specify the desired output structure 2020-11-11 12:43:27 +01:00
charmap.h Run make update 2020-01-02 14:39:34 +00:00
charmap.pl Update copyright year 2020-04-23 13:55:52 +01:00
d2i_param.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
d2i_pr.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
d2i_pu.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
evp_asn1.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
f_int.c Update copyright year 2020-11-26 14:18:57 +00:00
f_string.c Update copyright year 2020-11-26 14:18:57 +00:00
i2d_evp.c Adapt everything else to the updated OSSL_ENCODER_CTX_new_by_EVP_PKEY() 2020-12-02 13:37:20 +01:00
n_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
nsseq.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
p5_pbe.c Update copyright year 2020-11-26 14:18:57 +00:00
p5_pbev2.c Update copyright year 2020-11-26 14:18:57 +00:00
p5_scrypt.c Update copyright year 2020-11-26 14:18:57 +00:00
p8_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
standard_methods.h Update copyright year 2020-10-15 14:10:06 +01:00
t_bitst.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
t_pkey.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
t_spki.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
tasn_dec.c Check that multi-strings/CHOICE types don't use implicit tagging 2020-12-08 10:17:03 +00:00
tasn_enc.c Complain if we are attempting to encode with an invalid ASN.1 template 2020-12-08 10:17:03 +00:00
tasn_fre.c Fix safestack issues in asn1t.h 2020-09-13 11:10:41 +01:00
tasn_new.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
tasn_prn.c Update copyright year 2020-11-26 14:18:57 +00:00
tasn_scn.c Update copyright year 2020-11-26 14:18:57 +00:00
tasn_typ.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
tasn_utl.c Update copyright year 2020-11-26 14:18:57 +00:00
tbl_standard.h Update copyright year 2020-10-15 14:10:06 +01:00
x_algor.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
x_bignum.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
x_info.c Update copyright year 2020-11-26 14:18:57 +00:00
x_int64.c Update copyright year 2020-11-26 14:18:57 +00:00
x_long.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
x_pkey.c Update copyright year 2020-11-26 14:18:57 +00:00
x_sig.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x_spki.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
x_val.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00