diff options
author | Pauli <paul.dale@oracle.com> | 2020-05-21 13:44:01 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-05-22 17:23:49 +1000 |
commit | 4d55122ee782ebd306ef492f50c9b41e41a56244 (patch) | |
tree | d72acb41a70f38720b5d56ed899173002ba13f2c /providers | |
parent | 3f17066f5d3bf48d33a8481bd7a7cfdcc00ace97 (diff) |
Coverity 1463571: Null pointer dereferences (FORWARD_NULL)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/11892)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/implementations/keymgmt/rsa_kmgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |