crypto/ppccap.c: permit build with no-chacha and no-poly1305.
[openssl.git] / crypto / x509v3 / pcy_lib.c
index dbb29835fa9714f1e9d9222cfc8e88d934ebee2f..f3ec70db8a54ceba038b2f1c94b2e998dbe51d5c 100644 (file)
@@ -1,4 +1,3 @@
-/* pcy_lib.c */
 /*
  * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
  * 2004.
@@ -57,7 +56,7 @@
  *
  */
 
-#include "cryptlib.h"
+#include "internal/cryptlib.h"
 #include <openssl/x509.h>
 #include <openssl/x509v3.h>
 
@@ -140,15 +139,6 @@ const ASN1_OBJECT *X509_policy_node_get0_policy(const X509_POLICY_NODE *node)
     return node->data->valid_policy;
 }
 
-#if 0
-int X509_policy_node_get_critical(const X509_POLICY_NODE *node)
-{
-    if (node_critical(node))
-        return 1;
-    return 0;
-}
-#endif
-
 STACK_OF(POLICYQUALINFO) *X509_policy_node_get0_qualifiers(const
                                                            X509_POLICY_NODE
                                                            *node)