Extend tests of SSL_check_chain()
authorMatt Caswell <matt@openssl.org>
Tue, 23 Jul 2019 16:10:05 +0000 (17:10 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 14 Aug 2019 10:09:16 +0000 (11:09 +0100)
commit57a3af94a7ccff2efa99c26b2e842f520e4a731c
tree24abd6291093da5440dc74952d5fcbcbdd86c8c3
parent604ba26560ca71bf8a1c127da96727b5b2b077e1
Extend tests of SSL_check_chain()

Actually supply a chain and then test:
1) A successful check of both the ee and chain certs
2) A failure to check the ee cert
3) A failure to check a chain cert

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9443)
test/ct_test.c
test/recipes/90-test_sslapi.t
test/sslapitest.c
test/testutil.h
test/testutil/driver.c