diff --git a/test/ocspapitest.c b/test/ocspapitest.c index aa477a8f49..43b03e3f51 100644 --- a/test/ocspapitest.c +++ b/test/ocspapitest.c @@ -21,6 +21,7 @@ static const char *certstr; static const char *privkeystr; +#ifndef OPENSSL_NO_OCSP static int get_cert_and_key(X509 **cert_out, EVP_PKEY **key_out) { BIO *certbio, *keybio; @@ -86,7 +87,6 @@ static OCSP_BASICRESP *make_dummy_resp(void) return bs_out; } -#ifndef OPENSSL_NO_OCSP static int test_resp_signer(void) { OCSP_BASICRESP *bs = NULL;