openssl/ssl
Matt Caswell bf17b7b18d Don't free the EVP_PKEY on error in set0_tmp_dh_pkey() functions
We should not be freeing the caller's key in the event of error.

Fixes #17196

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17209)

(cherry picked from commit e819b57273)
2021-12-07 12:17:17 +00:00
..
record RAND_bytes_ex: fix return check 2021-11-16 20:01:57 +10:00
statem No EtM for GOST ciphers in TLS 1.2 2021-11-29 16:30:27 +01:00
bio_ssl.c Fix ssl_free() and thus BIO_free() to respect BIO_NOCLOSE 2021-10-04 10:59:06 +02:00
build.info Do not duplicate symbols between libcrypto and libssl in static builds 2021-06-14 09:21:05 +10:00
d1_lib.c Fix dtls timeout dead code 2021-07-29 10:08:07 -07:00
d1_msg.c
d1_srtp.c
ktls.c KTLS: use EVP_CIPHER_is_a instead of nid 2021-11-08 17:41:28 +08:00
methods.c
pqueue.c
s3_cbc.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
s3_enc.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
s3_lib.c Don't free the EVP_PKEY on error in set0_tmp_dh_pkey() functions 2021-12-07 12:17:17 +00:00
s3_msg.c Update copyright year 2021-05-20 14:22:33 +01:00
ssl_asn1.c Make the -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION pass tests 2021-08-31 12:20:12 +02:00
ssl_cert.c BIO_read_filename: fix return check 2021-11-16 17:34:36 +01:00
ssl_cert_table.h
ssl_ciph.c Don't include any TLSv1.3 ciphersuites that are disabled 2021-11-29 12:18:01 +10:00
ssl_conf.c Disabling Encrypt-then-MAC extension in s_client/s_server 2021-06-15 22:14:34 +02:00
ssl_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_err_legacy.c Update copyright year 2021-06-17 13:24:59 +01:00
ssl_init.c Update copyright year 2021-06-17 13:24:59 +01:00
ssl_lib.c Don't free the EVP_PKEY on error in set0_tmp_dh_pkey() functions 2021-12-07 12:17:17 +00:00
ssl_local.h Fix dtls timeout dead code 2021-07-29 10:08:07 -07:00
ssl_mcnf.c
ssl_rsa.c
ssl_rsa_legacy.c
ssl_sess.c Add missing session timeout calc 2021-07-28 10:37:21 +10:00
ssl_stat.c Update copyright year 2021-09-07 13:29:33 +02:00
ssl_txt.c Update copyright year 2021-06-17 13:24:59 +01:00
ssl_utst.c
sslerr.h err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
t1_enc.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
t1_lib.c Add return value NULL checks that were missing 2021-11-12 19:53:54 +10:00
t1_trce.c
tls13_enc.c Fix indentation of tls13_hkdf_expand parameters 2021-09-03 08:56:07 +10:00
tls_depr.c Replace the AES-128-CBC-HMAC-SHA1 cipher in e_ossltest.c 2021-10-11 16:25:17 +02:00
tls_srp.c ssl: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00