summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/pcy_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/pcy_node.c')
-rw-r--r--src/lib/libcrypto/x509/pcy_node.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/pcy_node.c b/src/lib/libcrypto/x509/pcy_node.c
index 3a0f230bb3..1daf7e2aff 100644
--- a/src/lib/libcrypto/x509/pcy_node.c
+++ b/src/lib/libcrypto/x509/pcy_node.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pcy_node.c,v 1.1 2020/06/04 15:19:31 jsing Exp $ */ 1/* $OpenBSD: pcy_node.c,v 1.2 2023/04/26 19:11:33 beck Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2004. 3 * project 2004.
4 */ 4 */
@@ -60,6 +60,8 @@
60#include <openssl/x509.h> 60#include <openssl/x509.h>
61#include <openssl/x509v3.h> 61#include <openssl/x509v3.h>
62 62
63#ifndef LIBRESSL_HAS_POLICY_DAG
64
63#include "pcy_int.h" 65#include "pcy_int.h"
64 66
65static int 67static int
@@ -198,3 +200,5 @@ policy_node_match(const X509_POLICY_LEVEL *lvl, const X509_POLICY_NODE *node,
198 } 200 }
199 return 0; 201 return 0;
200} 202}
203
204#endif /* LIBRESSL_HAS_POLICY_DAG */