summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/pcy_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/pcy_cache.c')
-rw-r--r--src/lib/libcrypto/x509/pcy_cache.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/pcy_cache.c b/src/lib/libcrypto/x509/pcy_cache.c
index 6424160db8..10cefd7f34 100644
--- a/src/lib/libcrypto/x509/pcy_cache.c
+++ b/src/lib/libcrypto/x509/pcy_cache.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pcy_cache.c,v 1.3 2022/11/26 16:08:54 tb Exp $ */ 1/* $OpenBSD: pcy_cache.c,v 1.4 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#include "x509_local.h" 65#include "x509_local.h"
64 66
@@ -270,3 +272,5 @@ policy_cache_set_int(long *out, ASN1_INTEGER *value)
270 *out = ASN1_INTEGER_get(value); 272 *out = ASN1_INTEGER_get(value);
271 return 1; 273 return 1;
272} 274}
275
276#endif /* LIBRESSL_HAS_POLICY_DAG */