]> git.ipfire.org Git - thirdparty/openssl.git/commit
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:25:44 +0000 (11:25 +1100)
commitcca6c050dbf8e377794303ec37aa43cb567afda1
tree9485f7734310425e11fffa32bcdcc0e07779e17e
parent3a81370f75b832102e9969533a25ca53fe0b254e
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/20571)
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]