summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/x_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/x_x509.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c
index 5a769abdff..0c10bec4c8 100644
--- a/src/lib/libcrypto/asn1/x_x509.c
+++ b/src/lib/libcrypto/asn1/x_x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_x509.c,v 1.34 2023/04/26 19:11:32 beck Exp $ */ 1/* $OpenBSD: x_x509.c,v 1.35 2023/04/28 16:30:14 tb 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 *
@@ -169,10 +169,6 @@ X509_CINF_free(X509_CINF *a)
169} 169}
170/* X509 top level structure needs a bit of customisation */ 170/* X509 top level structure needs a bit of customisation */
171 171
172#ifndef LIBRESSL_HAS_POLICY_DAG
173extern void policy_cache_free(X509_POLICY_CACHE *cache);
174#endif
175
176static int 172static int
177x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) 173x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
178{ 174{
@@ -207,9 +203,6 @@ x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
207 ASN1_OCTET_STRING_free(ret->skid); 203 ASN1_OCTET_STRING_free(ret->skid);
208 AUTHORITY_KEYID_free(ret->akid); 204 AUTHORITY_KEYID_free(ret->akid);
209 CRL_DIST_POINTS_free(ret->crldp); 205 CRL_DIST_POINTS_free(ret->crldp);
210#ifndef LIBRESSL_HAS_POLICY_DAG
211 policy_cache_free(ret->policy_cache);
212#endif
213 GENERAL_NAMES_free(ret->altname); 206 GENERAL_NAMES_free(ret->altname);
214 NAME_CONSTRAINTS_free(ret->nc); 207 NAME_CONSTRAINTS_free(ret->nc);
215#ifndef OPENSSL_NO_RFC3779 208#ifndef OPENSSL_NO_RFC3779