diff options
author | beck <> | 2023-04-26 19:11:33 +0000 |
---|---|---|
committer | beck <> | 2023-04-26 19:11:33 +0000 |
commit | d2576ff178ab71d730ed11f6d244e0035b9203c2 (patch) | |
tree | 75b208133b3a7fbeb57237a5639552556d1bc38e /src/lib/libcrypto/x509/pcy_int.h | |
parent | 044e73e94f288a201e6ef15bb65075250510d821 (diff) | |
download | openbsd-d2576ff178ab71d730ed11f6d244e0035b9203c2.tar.gz openbsd-d2576ff178ab71d730ed11f6d244e0035b9203c2.tar.bz2 openbsd-d2576ff178ab71d730ed11f6d244e0035b9203c2.zip |
Make the new policy code in x509_policy.c to be selectable at compile time.
The old policy codes remains the default, with the new policy code
selectable by defining LIBRESSL_HAS_POLICY_DAG.
ok tb@ jsing@
Diffstat (limited to 'src/lib/libcrypto/x509/pcy_int.h')
-rw-r--r-- | src/lib/libcrypto/x509/pcy_int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/pcy_int.h b/src/lib/libcrypto/x509/pcy_int.h index b183979d87..43bd548f66 100644 --- a/src/lib/libcrypto/x509/pcy_int.h +++ b/src/lib/libcrypto/x509/pcy_int.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pcy_int.h,v 1.4 2023/04/25 18:53:42 tb Exp $ */ | 1 | /* $OpenBSD: pcy_int.h,v 1.5 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 | */ |
@@ -56,6 +56,8 @@ | |||
56 | * | 56 | * |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifndef LIBRESSL_HAS_POLICY_DAG | ||
60 | |||
59 | /* Needed to pull in the typedefs for X509_POLICY_* */ | 61 | /* Needed to pull in the typedefs for X509_POLICY_* */ |
60 | #include "x509_local.h" | 62 | #include "x509_local.h" |
61 | 63 | ||
@@ -275,3 +277,5 @@ const X509_POLICY_NODE * | |||
275 | 277 | ||
276 | 278 | ||
277 | __END_HIDDEN_DECLS | 279 | __END_HIDDEN_DECLS |
280 | |||
281 | #endif /* LIBRESSL_HAS_POLICY_DAG */ | ||