Make the new policy code in x509_policy.c to be selectable at compile time.
authorbeck <beck@openbsd.org>
Wed, 26 Apr 2023 19:11:32 +0000 (19:11 +0000)
committerbeck <beck@openbsd.org>
Wed, 26 Apr 2023 19:11:32 +0000 (19:11 +0000)
commite6cf98fc7d5804d61e00338a14d47ceef0b22826
treed5f20b5b4f9f60af169d5de25bf672f413e4f896
parent5e44526e0e92a133dd21278e5e250a1f9a3aff64
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@
12 files changed:
lib/libcrypto/asn1/x_x509.c
lib/libcrypto/x509/pcy_cache.c
lib/libcrypto/x509/pcy_data.c
lib/libcrypto/x509/pcy_int.h
lib/libcrypto/x509/pcy_lib.c
lib/libcrypto/x509/pcy_map.c
lib/libcrypto/x509/pcy_node.c
lib/libcrypto/x509/pcy_tree.c
lib/libcrypto/x509/x509_cpols.c
lib/libcrypto/x509/x509_local.h
lib/libcrypto/x509/x509_policy.c
lib/libcrypto/x509/x509_vfy.c