openssl/ssl
Trev Larock 147ed5f9de Modify ssl_handshake_hash to call SSLfatal
When EVP_MD_CTX_new fails call SSLfatal before the goto err.
This resolves a state machine issue on the out of memory condition.

Fixes #15491.
CLA: trivial

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15520)
2021-06-01 16:43:43 +02:00
..
record Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
statem Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
bio_ssl.c Update copyright year 2021-04-08 13:04:41 +01:00
build.info Drop libimplementations.a 2021-05-07 10:17:23 +02:00
d1_lib.c
d1_msg.c
d1_srtp.c
ktls.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
methods.c
pqueue.c
s3_cbc.c Fix compilation warning with GCC11. 2021-05-27 20:31:13 +10:00
s3_enc.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
s3_lib.c ssl: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
s3_msg.c Update copyright year 2021-05-20 14:22:33 +01:00
ssl_asn1.c Update copyright year 2021-05-20 14:22:33 +01:00
ssl_cert_table.h
ssl_cert.c Fix NULL access in ssl_build_cert_chain() when ctx is NULL. 2021-03-03 16:16:19 +10:00
ssl_ciph.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
ssl_conf.c Add SSL_OP_ALLOW_CLIENT_RENEGOTIATION 2021-05-17 10:53:30 +02:00
ssl_err_legacy.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_init.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_lib.c Modify ssl_handshake_hash to call SSLfatal 2021-06-01 16:43:43 +02:00
ssl_local.h Fix compilation warning with GCC11. 2021-05-27 20:31:13 +10:00
ssl_mcnf.c
ssl_rsa_legacy.c
ssl_rsa.c ssl: coverity 1465527 - dereference after null check 2021-03-20 10:18:32 +10:00
ssl_sess.c ssl: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
ssl_stat.c
ssl_txt.c
ssl_utst.c
sslerr.h err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
t1_enc.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
t1_lib.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
t1_trce.c Update copyright year 2021-02-18 15:05:17 +00:00
tls13_enc.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
tls_depr.c Remove OPENSSL_NO_DH guards from libssl 2021-02-05 15:20:36 +00:00
tls_srp.c ssl: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00