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
/
asn1
/
d2i_pu.c
diff --git
a/crypto/asn1/d2i_pu.c
b/crypto/asn1/d2i_pu.c
index 33542dd122ade855bf0d99e2abab73ae6782f757..189cfddf1e4aa0b63b338b06b5bb5f3fa04d5ea1 100644
(file)
--- a/
crypto/asn1/d2i_pu.c
+++ b/
crypto/asn1/d2i_pu.c
@@
-130,7
+130,7
@@
EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
(*a) = ret;
return (ret);
err:
- if (
(ret != NULL) && ((a == NULL) || (*a != ret))
)
+ if (
a == NULL || *a != ret
)
EVP_PKEY_free(ret);
return (NULL);
}