summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/pcy_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/pcy_data.c')
-rw-r--r--src/lib/libcrypto/x509/pcy_data.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/pcy_data.c b/src/lib/libcrypto/x509/pcy_data.c
index dadacb5266..f0fdfe18ef 100644
--- a/src/lib/libcrypto/x509/pcy_data.c
+++ b/src/lib/libcrypto/x509/pcy_data.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pcy_data.c,v 1.1 2020/06/04 15:19:31 jsing Exp $ */ 1/* $OpenBSD: pcy_data.c,v 1.2 2023/04/26 19:11:32 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 65
64/* Policy Node routines */ 66/* Policy Node routines */
@@ -127,3 +129,5 @@ err:
127 ASN1_OBJECT_free(id); 129 ASN1_OBJECT_free(id);
128 return NULL; 130 return NULL;
129} 131}
132
133#endif /* LIBRESSL_HAS_POLICY_DAG */