From 7c9a7cf12715ac3e906b8d55466f19285fc59e78 Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Tue, 16 Jun 2020 13:04:57 +1000 Subject: Add fix for RSA keygen in FIPS using keysizes 2048 < bits < 3072 Fixes #11863 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/12162) --- apps/dgst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dgst.c') diff --git a/apps/dgst.c b/apps/dgst.c index da162e6ed6..0654d4c8b9 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -293,7 +293,7 @@ int dgst_main(int argc, char **argv) if (mac_name != NULL) { EVP_PKEY_CTX *mac_ctx = NULL; int r = 0; - if (!init_gen_str(&mac_ctx, mac_name, impl, 0)) + if (!init_gen_str(&mac_ctx, mac_name, impl, 0, NULL, NULL)) goto mac_end; if (macopts != NULL) { char *macopt; -- cgit v1.2.3