+29
−0
test/cert_verify_chain_test.cpp
0 → 100644
+156
−0
test/gen_cert_chain_fixtures.sh
0 → 100755
+179
−0
Loading
Builds an invented RSA + P-384 test PKI with the system openssl (offline,
no real CA) and exercises verifyPeerChain against it: a valid chain, a
non-CA issuer misused to sign a forged leaf, an expired intermediate, a
pathLenConstraint violation, an intermediate whose keyUsage omits
keyCertSign, and a P-384 ECDSA chain. Skipped when openssl isn't on PATH.
Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com>