From 735f8e2837ac30e56efc45112841b3c71bcc85ac Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 29 Feb 2012 19:01:59 +0100 Subject: [PATCH] mingw: workaround weird openssl build failure If X509_NAME isn't undefined before including x509v3.h, very weird compilation error occurs. It seems to be caused by duplicate definitions for this symbols coming from wincrypto.h --- common/ssl_verify.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/ssl_verify.h b/common/ssl_verify.h index b8306f31..067762b4 100644 --- a/common/ssl_verify.h +++ b/common/ssl_verify.h @@ -29,6 +29,7 @@ #include #include #include +#undef X509_NAME #include #ifdef __cplusplus