diff options
author | Trev Larock <tlarock@juniper.net> | 2021-05-28 12:54:44 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-06-01 16:43:43 +0200 |
commit | 147ed5f9def86840c9f6ba512e63a890d58ac1d6 (patch) | |
tree | 8d2e6b9c6d4e26b31082e0164eb3ca649452c6db /crypto | |
parent | 7e8d6bafd0347de8653c336e6f067d8f3686a386 (diff) |
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)
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions