coverity 1456642: fix null check
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10748)
This commit is contained in:
parent
1fdde9170c
commit
ff19035e62
1 changed files with 2 additions and 4 deletions
|
@ -77,11 +77,9 @@ static void *rsa_priv_newctx(void *provctx)
|
|||
|
||||
if (ctx != NULL) {
|
||||
ctx->provctx = provctx;
|
||||
/* -1 is the "whatever" indicator, i.e. the PKCS8 library default PBE */
|
||||
ctx->sc.pbe_nid = -1;
|
||||
}
|
||||
|
||||
/* -1 is the "whatever" indicator, i.e. the PKCS8 library default PBE */
|
||||
ctx->sc.pbe_nid = -1;
|
||||
|
||||
return ctx;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue