aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-01-07 19:50:16 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-01-07 19:50:16 +0000
commit8fb030d900e7c9f0b1222e986bba076e84642a81 (patch)
tree9ab2a7cd36e443cece2c7a7ebf0acde1f8fc733a /config.nmake
parent284c9513862305fb1c0906394c4304c3503ba9db (diff)
fix GNUTLS compiling issue on recent MSVC versions by switching off Wincrypt.h, see: http://www.mail-archive.com/openssl-dev@openssl.org/msg03802.html for details
svn path=/trunk/; revision=20336
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.nmake b/config.nmake
index c165a186bb..c5b2ec1c41 100644
--- a/config.nmake
+++ b/config.nmake
@@ -224,9 +224,7 @@ PCRE_DIR=$(WIRESHARK_LIBS)\pcre-6.4
# isn't defined.
#
# Platform SDK conflicts with openssl.h header
-!IFNDEF PLATFORM_SDK_DIR
GNUTLS_DIR=$(WIRESHARK_LIBS)\gnutls-1.6.1-1
-!ENDIF
#
# Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
@@ -680,7 +678,8 @@ NETTLE_CONFIG=
!IFDEF GNUTLS_DIR
GNUTLS_PATH=$(GNUTLS_DIR)
-GNUTLS_CFLAGS=/I$(GNUTLS_DIR)\include
+# /DNOCRYPT avoids inclusion of Wincrypt.h, avoiding a X509_NAME define clash
+GNUTLS_CFLAGS=/I$(GNUTLS_DIR)\include /DNOCRYPT
GNUTLS_LIBS=\
$(GNUTLS_DIR)\bin\libtasn1-3.lib \
$(GNUTLS_DIR)\bin\libgpg-error-0.lib \