From 4c79ac1f888d1b74e23f7f00c3e792bd4cca15d8 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Mon, 21 May 2012 15:13:11 -0600 Subject: [PATCH] windows build fix --- cyassl/openssl/ssl.h | 2 -- cyassl/ssl.h | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cyassl/openssl/ssl.h b/cyassl/openssl/ssl.h index 2440b0d58..f268b6a37 100644 --- a/cyassl/openssl/ssl.h +++ b/cyassl/openssl/ssl.h @@ -37,8 +37,6 @@ #ifdef _WIN32 /* wincrypt.h clashes */ #undef X509_NAME - #undef OCSP_REQUEST - #undef OCSP_RESPONSE #endif diff --git a/cyassl/ssl.h b/cyassl/ssl.h index 88f4838ea..22ece6d13 100644 --- a/cyassl/ssl.h +++ b/cyassl/ssl.h @@ -43,6 +43,12 @@ #define CYASSL_VERSION LIBCYASSL_VERSION_STRING #endif +#ifdef _WIN32 + /* wincrypt.h clashes */ + #undef OCSP_REQUEST + #undef OCSP_RESPONSE +#endif + #ifdef __cplusplus