Wrap more of ocspapitest.c in OPENSSL_NO_OCSP
authorBenjamin Kaduk <bkaduk@akamai.com>
Thu, 7 Dec 2017 22:37:54 +0000 (16:37 -0600)
committerBen Kaduk <kaduk@mit.edu>
Fri, 8 Dec 2017 15:16:36 +0000 (09:16 -0600)
commitcb091295a9ff16f4de1a8b00be444d40ac068d04
tree1bcc93d51e388aa4bcebaa13da4bb0096da180ba
parent88e09fe79b909fbfe266e87a2731f96c197726fb
Wrap more of ocspapitest.c in OPENSSL_NO_OCSP

make_dummy_resp() uses OCSP types, and get_cert_and_key() is unused
once make_dummy_resp() is compiled out, so neither can be included
in the build when OCSP is disabled and strict warnings are active.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4873)
test/ocspapitest.c