summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1/x_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/asn1/x_info.c')
-rw-r--r--lib/libcrypto/asn1/x_info.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libcrypto/asn1/x_info.c b/lib/libcrypto/asn1/x_info.c
index 466deaf6ce6..05ac364fa73 100644
--- a/lib/libcrypto/asn1/x_info.c
+++ b/lib/libcrypto/asn1/x_info.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x_info.c,v 1.15 2015/02/10 11:22:21 jsing Exp $ */
+/* $OpenBSD: x_info.c,v 1.16 2016/03/11 07:08:44 mmcc Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -97,8 +97,7 @@ X509_INFO_free(X509_INFO *x)
if (i > 0)
return;
- if (x->x509 != NULL)
- X509_free(x->x509);
+ X509_free(x->x509);
if (x->crl != NULL)
X509_CRL_free(x->crl);
if (x->x_pkey != NULL)