diff options
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; |