projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free NULL cleanup
[openssl.git]
/
crypto
/
pkcs12
/
p12_kiss.c
diff --git
a/crypto/pkcs12/p12_kiss.c
b/crypto/pkcs12/p12_kiss.c
index 4fd8b8c2294f58eeb01334d443f66f8735b4038f..fcfa986824747efbe9737e7bfce4bd301db779f0 100644
(file)
--- a/
crypto/pkcs12/p12_kiss.c
+++ b/
crypto/pkcs12/p12_kiss.c
@@
-161,7
+161,7
@@
int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
err:
- if (pkey
&& *pkey
)
+ if (pkey)
EVP_PKEY_free(*pkey);
if (cert && *cert)
X509_free(*cert);