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/genrsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/genrsa.c') diff --git a/apps/genrsa.c b/apps/genrsa.c index 9a9130125e..4f589e98c1 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -169,7 +169,7 @@ opthelp: if (out == NULL) goto end; - if (!init_gen_str(&ctx, "RSA", eng, 0)) + if (!init_gen_str(&ctx, "RSA", eng, 0, NULL, NULL)) goto end; EVP_PKEY_CTX_set_cb(ctx, genrsa_cb); -- cgit v1.2.3