X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=providers%2Fimplementations%2Fkeymgmt%2Frsa_kmgmt.c;h=3091c1dee092b1ac0713cf2ce3e0f2f230e68ba5;hp=b237b2784faf43b3427bd14d32b5b5b71895f03c;hb=4d55122ee782ebd306ef492f50c9b41e41a56244;hpb=3f17066f5d3bf48d33a8481bd7a7cfdcc00ace97 diff --git a/providers/implementations/keymgmt/rsa_kmgmt.c b/providers/implementations/keymgmt/rsa_kmgmt.c index b237b2784f..3091c1dee0 100644 --- a/providers/implementations/keymgmt/rsa_kmgmt.c +++ b/providers/implementations/keymgmt/rsa_kmgmt.c @@ -411,8 +411,8 @@ static void *gen_init(void *provctx, int selection, int rsa_type) } else { gctx->nbits = 2048; gctx->primes = RSA_DEFAULT_PRIME_NUM; + gctx->rsa_type = rsa_type; } - gctx->rsa_type = rsa_type; } return gctx; }