diff options
Diffstat (limited to 'src/lib/libssl/src/crypto/asn1/x_info.c')
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/x_info.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/src/crypto/asn1/x_info.c b/src/lib/libssl/src/crypto/asn1/x_info.c index 466deaf6ce..05ac364fa7 100644 --- a/src/lib/libssl/src/crypto/asn1/x_info.c +++ b/src/lib/libssl/src/crypto/asn1/x_info.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_info.c,v 1.15 2015/02/10 11:22:21 jsing Exp $ */ | 1 | /* $OpenBSD: x_info.c,v 1.16 2016/03/11 07:08:44 mmcc Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -97,8 +97,7 @@ X509_INFO_free(X509_INFO *x) | |||
97 | if (i > 0) | 97 | if (i > 0) |
98 | return; | 98 | return; |
99 | 99 | ||
100 | if (x->x509 != NULL) | 100 | X509_free(x->x509); |
101 | X509_free(x->x509); | ||
102 | if (x->crl != NULL) | 101 | if (x->crl != NULL) |
103 | X509_CRL_free(x->crl); | 102 | X509_CRL_free(x->crl); |
104 | if (x->x_pkey != NULL) | 103 | if (x->x_pkey != NULL) |