projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make X509_NAME opaque
[oweals/openssl.git]
/
crypto
/
asn1
/
x_x509a.c
diff --git
a/crypto/asn1/x_x509a.c
b/crypto/asn1/x_x509a.c
index 2a2ca87178173e78887c065d1395bcaa5da657f1..8be50b55e27d1e377395d71169eb0c55259a40dc 100644
(file)
--- a/
crypto/asn1/x_x509a.c
+++ b/
crypto/asn1/x_x509a.c
@@
-159,8
+159,7
@@
int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj)
if (!objtmp || sk_ASN1_OBJECT_push(aux->trust, objtmp))
return 1;
err:
- if (objtmp)
- ASN1_OBJECT_free(objtmp);
+ ASN1_OBJECT_free(objtmp);
return 0;
}