diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-09-22 07:53:58 +0200 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-09-23 09:31:40 +0200 |
commit | 851886b061c9c9e5574fd23ea95149ffd52e8693 (patch) | |
tree | 7ba6c5d4af893d62b19503320509b641d84ab816 /crypto/ffc | |
parent | Fix missing propq in ecdh_cms_set_shared_info() (diff) | |
download | openssl-851886b061c9c9e5574fd23ea95149ffd52e8693.tar.xz openssl-851886b061c9c9e5574fd23ea95149ffd52e8693.zip |
Fix missing propq in ffc_params_generate
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12944)
Diffstat (limited to 'crypto/ffc')
-rw-r--r-- | crypto/ffc/ffc_params_generate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ffc/ffc_params_generate.c b/crypto/ffc/ffc_params_generate.c index 1fe8e4a6a5..a289270347 100644 --- a/crypto/ffc/ffc_params_generate.c +++ b/crypto/ffc/ffc_params_generate.c @@ -542,7 +542,7 @@ int ffc_params_FIPS186_4_gen_verify(OPENSSL_CTX *libctx, FFC_PARAMS *params, *res = FFC_CHECK_INVALID_Q_VALUE; goto err; } - md = EVP_MD_fetch(libctx, def_name, NULL); + md = EVP_MD_fetch(libctx, def_name, params->mdprops); } if (md == NULL) goto err; @@ -835,7 +835,7 @@ int ffc_params_FIPS186_2_gen_verify(OPENSSL_CTX *libctx, FFC_PARAMS *params, *res = FFC_CHECK_INVALID_Q_VALUE; goto err; } - md = EVP_MD_fetch(libctx, def_name, NULL); + md = EVP_MD_fetch(libctx, def_name, params->mdprops); } if (md == NULL) goto err; |