diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-06-16 13:04:57 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-08-12 09:25:49 +1000 |
commit | 7c9a7cf12715ac3e906b8d55466f19285fc59e78 (patch) | |
tree | 908ad763b756ba550f6a3a465017306933f4f589 /apps/genrsa.c | |
parent | 1017ab21e478b18dd2d9266955dee7e418932a3c (diff) |
Add fix for RSA keygen in FIPS using keysizes 2048 < bits < 3072
Fixes #11863
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12162)
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r-- | apps/genrsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |