diff --git a/src/ocsp.c b/src/ocsp.c index acba2b3c5..85c5ffeec 100644 --- a/src/ocsp.c +++ b/src/ocsp.c @@ -23,6 +23,8 @@ #include #endif +#ifdef HAVE_OCSP + #include #include #include @@ -40,7 +42,6 @@ #include -#ifdef HAVE_OCSP CYASSL_API int ocsp_test(unsigned char* buf, int sz); #define CYASSL_OCSP_ENABLE 0x0001 /* Enable OCSP lookups */ #define CYASSL_OCSP_URL_OVERRIDE 0x0002 /* Use the override URL instead of URL