diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-02-29 19:01:59 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:56 +0100 |
commit | 5d02123499ff68f8584384aac7b7a715a3a76a1b (patch) | |
tree | f5a7923ef12bb670ebd857f0a3afa994f88d9b13 /common | |
parent | ea9e91cd8dd2ca8a441eaaae951ddffd0bf0a800 (diff) |
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
Diffstat (limited to 'common')
-rw-r--r-- | common/ssl_verify.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ssl_verify.h b/common/ssl_verify.h index b8306f3..067762b 100644 --- a/common/ssl_verify.h +++ b/common/ssl_verify.h @@ -29,6 +29,7 @@ #include <openssl/x509.h> #include <openssl/ssl.h> #include <openssl/err.h> +#undef X509_NAME #include <openssl/x509v3.h> #ifdef __cplusplus |