openssl/crypto/asn1
Matt Caswell 0f9fdefeb0 Fix an ENGINE leak in asn1_item_digest_with_libctx
Commit 6725682d introduced a call to ENGINE_get_digest_engine() into
the function asn1_item_digest_with_libctx() to determine whether there
is an ENGINE registered to handle the specified digest. However that
function increases the ref count on the returned ENGINE object, so it
must be freed.

Fixes #12558

[extended tests]

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12560)
2020-08-01 11:55:34 +10:00
..
a_bitstr.c Reorganize local header files 2019-09-28 20:26:35 +02:00
a_d2i_fp.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
a_digest.c Fix an ENGINE leak in asn1_item_digest_with_libctx 2020-08-01 11:55:34 +10:00
a_dup.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
a_gentm.c Update copyright year 2020-04-23 13:55:52 +01:00
a_i2d_fp.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
a_int.c Reorganize local header files 2019-09-28 20:26:35 +02:00
a_mbstr.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
a_object.c Reorganize local header files 2019-09-28 20:26:35 +02: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 Update copyright year 2020-04-23 13:55:52 +01:00
a_strex.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
a_strnid.c Update copyright year 2020-05-15 14:09:49 +01:00
a_time.c Update copyright year 2020-04-23 13:55:52 +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 Update copyright year 2020-04-23 13:55:52 +01:00
ameth_lib.c deprecate engines in libcrypto 2020-07-16 09:12:27 +02:00
asn1_err.c util/mkerr.pl: make it not depend on the function code 2019-09-12 17:59:52 +02:00
asn1_gen.c Update copyright year 2020-05-15 14:09:49 +01:00
asn1_item_list.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
asn1_item_list.h Issuer Sign Tool extention support 2020-03-25 15:33:53 +03:00
asn1_lib.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
asn1_local.h Reorganize local header files 2019-09-28 20:26:35 +02:00
asn1_par.c Update copyright year 2020-04-23 13:55:52 +01:00
asn_mime.c Remove whitespace from 'white space' 2020-06-19 07:59:46 +02:00
asn_moid.c Update copyright year 2020-05-15 14:09:49 +01:00
asn_mstbl.c Update copyright year 2020-05-15 14:09:49 +01:00
asn_pack.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
bio_asn1.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
bio_ndef.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
build.info Use build.info, not ifdef for crypto modules 2020-04-16 13:52:22 +02: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 Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
d2i_pr.c deprecate engines in libcrypto 2020-07-16 09:12:27 +02:00
d2i_pu.c Update copyright year 2020-04-23 13:55:52 +01:00
evp_asn1.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
f_int.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
f_string.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
i2d_param.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
i2d_pr.c Update copyright year 2020-04-23 13:55:52 +01:00
i2d_pu.c Update copyright year 2020-04-23 13:55:52 +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 Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
p5_pbev2.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
p5_scrypt.c Coverity CID 1444959: Integer handling issues 2019-05-08 09:52:58 +10:00
p8_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
standard_methods.h Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +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 Update copyright year 2020-05-15 14:09:49 +01:00
tasn_enc.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
tasn_fre.c Update copyright year 2020-05-15 14:09:49 +01:00
tasn_new.c Update copyright year 2020-05-15 14:09:49 +01:00
tasn_prn.c Reorganize local header files 2019-09-28 20:26:35 +02:00
tasn_scn.c Reorganize local header files 2019-09-28 20:26:35 +02: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 Reorganize local header files 2019-09-28 20:26:35 +02:00
tbl_standard.h Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
x_algor.c Update copyright year 2020-04-23 13:55:52 +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 Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
x_int64.c Reorganize local header files 2019-09-28 20:26:35 +02:00
x_long.c Update copyright year 2020-04-23 13:55:52 +01:00
x_pkey.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01: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