aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/security/cert/openssl/X509Certificate_OpenSSL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/cert/openssl/X509Certificate_OpenSSL.cpp b/src/security/cert/openssl/X509Certificate_OpenSSL.cpp
index 20df3739..8c18583b 100644
--- a/src/security/cert/openssl/X509Certificate_OpenSSL.cpp
+++ b/src/security/cert/openssl/X509Certificate_OpenSSL.cpp
@@ -48,7 +48,7 @@
#include <openssl/err.h>
-#ifdef WIN32
+#ifdef _WIN32
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
#endif
@@ -384,7 +384,7 @@ bool X509Certificate_OpenSSL::verifyHostName(const string& hostname) const
if (strcmp(extStr, "subjectAltName") == 0)
{
-#ifdef WIN32
+#ifdef _WIN32
X509V3_EXT_METHOD* method;
#else
const X509V3_EXT_METHOD* method;