Bugfix: unsafe return check of EVP_PKEY_fromdata
authorPW Hu <jlu.hpw@foxmail.com>
Fri, 8 Oct 2021 09:01:47 +0000 (17:01 +0800)
committerTomas Mraz <tomas@openssl.org>
Mon, 11 Oct 2021 08:46:19 +0000 (10:46 +0200)
commitfa885e4ba153b6be3e446c8f323762482cef92ae
tree40bcb287f4d61bb4f901b1c81b235292107b57b8
parent6e463bcd53fedbb4ec277a5eb885619e32adcdd2
Bugfix: unsafe return check of EVP_PKEY_fromdata

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16783)

(cherry picked from commit d11cab47810715ba472070300b180944a1d93633)
apps/dhparam.c
crypto/evp/p_lib.c
test/helpers/predefined_dhparams.c