projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f17066
)
Coverity 1463571: Null pointer dereferences (FORWARD_NULL)
author
Pauli
<paul.dale@oracle.com>
Thu, 21 May 2020 03:44:01 +0000
(13:44 +1000)
committer
Pauli
<paul.dale@oracle.com>
Fri, 22 May 2020 07:23:49 +0000
(17:23 +1000)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/11892)
providers/implementations/keymgmt/rsa_kmgmt.c
patch
|
blob
|
history
diff --git
a/providers/implementations/keymgmt/rsa_kmgmt.c
b/providers/implementations/keymgmt/rsa_kmgmt.c
index b237b2784faf43b3427bd14d32b5b5b71895f03c..3091c1dee092b1ac0713cf2ce3e0f2f230e68ba5 100644
(file)
--- 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;
}