aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/asn1/x_x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/asn1/x_x509.c')
-rw-r--r--openssl/crypto/asn1/x_x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/crypto/asn1/x_x509.c b/openssl/crypto/asn1/x_x509.c
index d51b76e79..f56e837b3 100644
--- a/openssl/crypto/asn1/x_x509.c
+++ b/openssl/crypto/asn1/x_x509.c
@@ -177,7 +177,7 @@ X509 *d2i_X509_AUX(X509 **a, const unsigned char **pp, long length)
/* Save start position */
q = *pp;
- if(!a || *a == NULL) {
+ if (!a || *a == NULL) {
freeret = 1;
}
ret = d2i_X509(a, pp, length);
@@ -192,7 +192,7 @@ X509 *d2i_X509_AUX(X509 **a, const unsigned char **pp, long length)
goto err;
return ret;
err:
- if(freeret) {
+ if (freeret) {
X509_free(ret);
if (a)
*a = NULL;