summaryrefslogtreecommitdiffstats
path: root/crypto/ffc
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-09-22 15:53:58 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-09-23 17:31:40 +1000
commit851886b061c9c9e5574fd23ea95149ffd52e8693 (patch)
tree7ba6c5d4af893d62b19503320509b641d84ab816 /crypto/ffc
parentc4b3ea73a7b2be5cdbfc0036ec0b1fead1fcd898 (diff)
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.c4
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;