summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-03-25 02:41:35 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-03-25 02:41:35 +0000
commit2d2a5ba32a6da293bbe290529293c485d36e1c19 (patch)
tree29403945ef0aa356aedf1e235e95a7f35d2a63c4
parent2bd4e3379f8d9bf517f72c95c488f5b9f3b3a0d3 (diff)
Damn, I was a bit hasty with my fix and hadn't spotted the linker
dependency from asn1.
-rw-r--r--crypto/x509v3/pcy_cache.c2
-rw-r--r--crypto/x509v3/pcy_int.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/pcy_cache.c b/crypto/x509v3/pcy_cache.c
index 7cad12b51f..23d930dd9c 100644
--- a/crypto/x509v3/pcy_cache.c
+++ b/crypto/x509v3/pcy_cache.c
@@ -232,7 +232,6 @@ static int policy_cache_new(X509 *x)
}
-#if 0
void policy_cache_free(X509_POLICY_CACHE *cache)
{
if (!cache)
@@ -243,7 +242,6 @@ void policy_cache_free(X509_POLICY_CACHE *cache)
sk_X509_POLICY_DATA_pop_free(cache->data, policy_data_free);
OPENSSL_free(cache);
}
-#endif
const X509_POLICY_CACHE *policy_cache_set(X509 *x)
{
diff --git a/crypto/x509v3/pcy_int.h b/crypto/x509v3/pcy_int.h
index 65689880a6..8efe67397b 100644
--- a/crypto/x509v3/pcy_int.h
+++ b/crypto/x509v3/pcy_int.h
@@ -205,6 +205,8 @@ STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void);
void policy_cache_init(void);
+void policy_cache_free(X509_POLICY_CACHE *cache);
+
X509_POLICY_NODE *level_find_node(const X509_POLICY_LEVEL *level,
const ASN1_OBJECT *id);