Add support for decoding DES3/CBC/MD5 keys. Make it disabled by default.
[obnox/wireshark/wip.git] / config.nmake
index 228c4842774169fbe3d4bbf9ef2bd86d03abfa1b..0be84fd336b90e81c09cea64fb20af4caebd4e79 100644 (file)
@@ -122,6 +122,15 @@ ADNS_DIR=$(ETHEREAL_LIBS)\adns-1.0-win32-03
 #
 PCRE_DIR=$(ETHEREAL_LIBS)\pcre-4.4
 
+#
+# If you have the Nettle encryption library, set this to the pathname
+# of the directory in which the nettle package has been extracted.
+#
+# If you don't have Nettle, comment this line out, so that NETTLE_DIR
+# isn't defined.
+#
+# NETTLE_DIR=$(ETHEREAL_LIBS)\nettle-1.10
+
 #
 # Set ICONV_DIR to the pathname of the directory in which the
 # ICONV include files and library resides.
@@ -319,6 +328,17 @@ PCRE_LIBS=
 PCRE_CONFIG=
 !ENDIF
 
+!IFDEF NETTLE_DIR
+NETTLE_CFLAGS=/I$(NETTLE_DIR)
+NETTLE_LIBS=$(NETTLE_DIR)\libnettle.lib
+# Nmake uses carets to escape special characters
+NETTLE_CONFIG=^#define HAVE_LIBNETTLE 1
+!else
+NETTLE_CFLAGS=
+NETTLE_LIBS=
+NETTLE_CONFIG=
+!ENDIF
+
 !IFDEF ENABLE_LIBETHEREAL
 LIBETHEREAL_CONFIG=^#define HAVE_LIBETHEREALDLL 1
 !ELSE