mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-04 21:56:21 +01:00
Add test for limit on intermediate certificates
Inspired by test code provided by Nicholas Wilson in PR #351. The test will fail if someone sets MAX_INTERMEDIATE_CA to a value larger than 18 (default is 8), which is hopefully unlikely and can easily be fixed by running long.sh again with a larger value if it ever happens. Current behaviour is suboptimal as flags are not set, but currently the goal is only to document/test existing behaviour.
This commit is contained in:
parent
f2a597fa3d
commit
1beb048316
68 changed files with 3289 additions and 0 deletions
8
tests/data_files/dir-maxpath/07.key
Normal file
8
tests/data_files/dir-maxpath/07.key
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-----BEGIN EC PARAMETERS-----
|
||||
BggqhkjOPQMBBw==
|
||||
-----END EC PARAMETERS-----
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIEi1oKInPLbiINj8OxdActVTgI+YQVSefdQfCu1ihbLRoAoGCCqGSM49
|
||||
AwEHoUQDQgAEjTo+HeDBAO6f95ooo6huE6BOKKSjwJvtwUyBqyU2E9ePvk0olCAp
|
||||
dAEl4/sXlHCzCGl0zdONrC7B8aUoc0Gi9A==
|
||||
-----END EC PRIVATE KEY-----
|
||||
Loading…
Add table
Add a link
Reference in a new issue