diff --git a/src/tls/openssl/tls.c b/src/tls/openssl/tls.c index 2b97dbf..3fd85ec 100644 --- a/src/tls/openssl/tls.c +++ b/src/tls/openssl/tls.c @@ -24,6 +24,12 @@ #include "tls.h" +/* also defined by wincrypt.h */ +#ifdef WIN32 +#undef X509_NAME +#endif + + #define DEBUG_MODULE "tls" #define DEBUG_LEVEL 5 #include