diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2017-10-19 14:44:10 -0500 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2017-12-12 19:08:22 -0600 |
commit | c74503ebfc599d2d5afbfccaab0cb4bf585fba8c (patch) | |
tree | 2adf5dec1d1aab0bd958242028da423f719437dd /test/certs/bad.pem | |
parent | 1f0067ec9a8d2ab71132604b4a1a5dd9ffab4f23 (diff) |
Add OCSP API test executable
Some of the OCSP APIs (such as the recently added OCSP_resp_get0_signer)
do not really merit inclusion in the ocsp(1) utility, but we should still
have unit tests for them.
For now, only test OCSP_resp_get0_signer(), but it should be easy to
add more tests in the future.
Provide an X509 cert and private key in the test's data directory
to use for signing responses, since constructing those on the fly
is more effort than is needed.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 27da13430bfb3c178716cec10e8d5d6134e54f90)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4723)
Diffstat (limited to 'test/certs/bad.pem')
0 files changed, 0 insertions, 0 deletions