]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
x509: Undef OCSP_RESPONSE from <wincrypt.h> before using it
authorMartin Willi <martin@revosec.ch>
Fri, 25 Oct 2013 14:40:32 +0000 (16:40 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:02 +0000 (15:53 +0200)
src/libstrongswan/plugins/x509/x509_ocsp_response.c

index 65b2a04bbb28b1f66d3ba24de5c73dc53d3cbb12..ad04c7dea4298568207e05467f93fe45e9d19e30 100644 (file)
  */
 #define OCSP_DEFAULT_LIFETIME 30
 
+/* defined in wincrypt.h */
+#ifdef OCSP_RESPONSE
+# undef OCSP_RESPONSE
+#endif
+
 typedef struct private_x509_ocsp_response_t private_x509_ocsp_response_t;
 
 /**