projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove old ASN.1 code from evp_asn1.c
[openssl.git]
/
crypto
/
asn1
/
d2i_pr.c
diff --git
a/crypto/asn1/d2i_pr.c
b/crypto/asn1/d2i_pr.c
index 5f1a96d808fe607e79ecd2120db026bff117de6b..793532f4933901827e696e4aec8da8dbc20f0532 100644
(file)
--- a/
crypto/asn1/d2i_pr.c
+++ b/
crypto/asn1/d2i_pr.c
@@
-113,7
+113,7
@@
EVP_PKEY *d2i_PrivateKey(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);
}