summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/pcy_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/pcy_tree.c')
-rw-r--r--src/lib/libcrypto/x509/pcy_tree.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/pcy_tree.c b/src/lib/libcrypto/x509/pcy_tree.c
index 56e05910cd..eb3c427a3a 100644
--- a/src/lib/libcrypto/x509/pcy_tree.c
+++ b/src/lib/libcrypto/x509/pcy_tree.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pcy_tree.c,v 1.6 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: pcy_tree.c,v 1.7 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 */
@@ -59,6 +59,8 @@
59#include <openssl/x509.h> 59#include <openssl/x509.h>
60#include <openssl/x509v3.h> 60#include <openssl/x509v3.h>
61 61
62#ifndef LIBRESSL_HAS_POLICY_DAG
63
62#include "pcy_int.h" 64#include "pcy_int.h"
63#include "x509_local.h" 65#include "x509_local.h"
64 66
@@ -771,3 +773,5 @@ error:
771 return 0; 773 return 0;
772} 774}
773LCRYPTO_ALIAS(X509_policy_check); 775LCRYPTO_ALIAS(X509_policy_check);
776
777#endif /* LIBRESSL_HAS_POLICY_DAG */