test: add test cases for the policy resource overuse
authorPauli <pauli@openssl.org>
Wed, 8 Mar 2023 03:39:25 +0000 (14:39 +1100)
committerPauli <pauli@openssl.org>
Wed, 22 Mar 2023 00:42:30 +0000 (11:42 +1100)
commitb44a67c6132754adc256290d0267c1e82994ac94
treecb1a56a7cb99d22a135597c9fd081dd19e0347a3
parent879f7080d7e141f415c79eaa3a8ac4a3dad0348b
test: add test cases for the policy resource overuse

These trees have pathological properties with respect to building.  The small
tree stays within the imposed limit, the large tree doesn't.

The large tree would consume over 150Gb of RAM to process.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20569)
test/recipes/80-test_policy_tree.t [new file with mode: 0644]
test/recipes/80-test_policy_tree_data/large_leaf.pem [new file with mode: 0644]
test/recipes/80-test_policy_tree_data/large_policy_tree.pem [new file with mode: 0644]
test/recipes/80-test_policy_tree_data/small_leaf.pem [new file with mode: 0644]
test/recipes/80-test_policy_tree_data/small_policy_tree.pem [new file with mode: 0644]