Commit 2d2a5ba3 authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

Damn, I was a bit hasty with my fix and hadn't spotted the linker

dependency from asn1.
parent 2bd4e337
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)
	{
+2 −0
Original line number Diff line number Diff line
@@ -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);