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
/
evp_asn1.c
diff --git
a/crypto/asn1/evp_asn1.c
b/crypto/asn1/evp_asn1.c
index 3664576a818ec494b829ac82b31c787e4a0cae47..e6a5b5f28fe68db331af782bef172dd0b057974c 100644
(file)
--- a/
crypto/asn1/evp_asn1.c
+++ b/
crypto/asn1/evp_asn1.c
@@
-187,8
+187,7
@@
int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a, long *num,
err:
ASN1err(ASN1_F_ASN1_TYPE_GET_INT_OCTETSTRING, ASN1_R_DATA_IS_WRONG);
}
- if (os != NULL)
- ASN1_OCTET_STRING_free(os);
+ ASN1_OCTET_STRING_free(os);
if (ai != NULL)
ASN1_INTEGER_free(ai);
return (ret);