Damn, I was a bit hasty with my fix and hadn't spotted the linker
authorGeoff Thorpe <geoff@openssl.org>
Thu, 25 Mar 2004 02:41:35 +0000 (02:41 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Thu, 25 Mar 2004 02:41:35 +0000 (02:41 +0000)
dependency from asn1.

crypto/x509v3/pcy_cache.c
crypto/x509v3/pcy_int.h

index 7cad12b51f4760180ea9ecb3c0effea40034701b..23d930dd9c578bebf1bb8b55a13690fc0eac235d 100644 (file)
@@ -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)
        {
index 65689880a66b15526c17c97e931d57932d332ac9..8efe67397bdecc16ff6c3fca4c105502611ebd10 100644 (file)
@@ -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);