Start of an x509 policy regress test. test cases from BoringSSL.
authorbeck <beck@openbsd.org>
Thu, 27 Apr 2023 12:23:31 +0000 (12:23 +0000)
committerbeck <beck@openbsd.org>
Thu, 27 Apr 2023 12:23:31 +0000 (12:23 +0000)
commit11e92b75c2d6a86576ea919acd7ec640d72acdc9
tree6a78e86a8c43b7e4c048dfd9848d7fa910e9d4e9
parent8cfc1ee57a049402d88ef882a298a1628e046446
Start of an x509 policy regress test. test cases from BoringSSL.

Still a work in progress adapting tests from boringssl x509_test.cc
but dropping in here for tb to be able to look at and run as well
since the new stuff still has bugs.
29 files changed:
regress/lib/libcrypto/x509/policy/Makefile [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy.c [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_any.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_duplicate.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_invalid.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_mapped.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_mapped_any.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_mapped_oid3.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_require.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_require1.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_require2.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_require_duplicate.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_intermediate_require_no_policies.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_any.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_duplicate.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_invalid.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_none.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_oid1.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_oid2.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_oid3.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_oid4.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_oid5.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_require.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_leaf_require1.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_root.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_root2.pem [new file with mode: 0644]
regress/lib/libcrypto/x509/policy/policy_root_cross_inhibit_mapping.pem [new file with mode: 0644]