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>
Wed, 13 Dec 2017 01:08:22 +0000 (19:08 -0600)
commitc24470d0363ad0c4f35081fb8b6f799c9c4a09e6
tree77f20dc6435304fb270e1857462805fd461edf7a
parentaf10989dd51cac1068a0451350f935fcdd54c8d3
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>
(cherry picked from commit cb091295a9ff16f4de1a8b00be444d40ac068d04)

(Merged from https://github.com/openssl/openssl/pull/4723)
test/ocspapitest.c