diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2017-10-19 14:44:10 -0500 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2017-11-11 20:03:49 -0600 |
commit | 27da13430bfb3c178716cec10e8d5d6134e54f90 (patch) | |
tree | 2f45957e64653c8bc826be554f0a375e924bd6db /test/build.info | |
parent | ce5886dda80b6f60fb30762381506d5c6f2d995c (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>
(Merged from https://github.com/openssl/openssl/pull/4573)
Diffstat (limited to 'test/build.info')
-rw-r--r-- | test/build.info | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info index cbdc0d9a94..d7cfd7e6c4 100644 --- a/test/build.info +++ b/test/build.info @@ -46,7 +46,7 @@ INCLUDE_MAIN___test_libtestutil_OLB = /INCLUDE=MAIN x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \ recordlentest drbgtest sslbuffertest \ time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \ - servername_test + servername_test ocspapitest SOURCE[aborttest]=aborttest.c INCLUDE[aborttest]=../include @@ -277,6 +277,10 @@ INCLUDE_MAIN___test_libtestutil_OLB = /INCLUDE=MAIN INCLUDE[sslapitest]=../include .. DEPEND[sslapitest]=../libcrypto ../libssl libtestutil.a + SOURCE[ocspapitest]=ocspapitest.c + INCLUDE[ocspapitest]=../include .. + DEPEND[ocspapitest]=../libcrypto libtestutil.a + SOURCE[dtlstest]=dtlstest.c ssltestlib.c INCLUDE[dtlstest]=../include . DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a |