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>
Fri, 9 Aug 2019 16:29:39 +0000 (17:29 +0100)
commit1a2a3a420609c2d540b544e5ae829a3cb468a6e3
tree14e50634fd7d841141133e2966e45e0db3fb9d9c
parent5235ef44b93306a14d0b6c695b13c64b16e1fdec
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/9442)
test/ct_test.c
test/recipes/90-test_sslapi.t
test/sslapitest.c
test/testutil.h
test/testutil/driver.c