From a1157da3040318cfb37a00f4d1932ef2da391ce3 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 30 May 2012 14:40:25 -0700 Subject: [PATCH] move HAVE_OCSP to top of source for different build envs --- src/ocsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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