check the return value of EVP_MD_fetch in ecdh_exch.c:285 & dh_exch.c:347
authorx2018 <xkernel.wang@foxmail.com>
Mon, 29 Nov 2021 07:32:47 +0000 (15:32 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 4 Jan 2022 11:30:12 +0000 (12:30 +0100)
commit04e3ab64d58bb43efc4392d12c607bb4b5a2c562
tree0063e087bc97dbe3ba0578f3d5b9e0bd553a0f58
parentd26b3766a0a35668ee62b839a62acbdcd9ff2a98
check the return value of EVP_MD_fetch in ecdh_exch.c:285 & dh_exch.c:347

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17153)
providers/implementations/exchange/dh_exch.c
providers/implementations/exchange/ecdh_exch.c