help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: win32 Visual Studio 2005 project for gsasl


From: Simon Josefsson
Subject: Re: win32 Visual Studio 2005 project for gsasl
Date: Wed, 06 Feb 2008 12:04:23 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Adam Strzelecki <address@hidden> writes:

> Hi Simon,
>
> I'm sending you updated changes for GIT HEAD for both gsasl & libidn,
> this time I've made proper patches, no extra zip files or anything.

Thanks, Adam!  I'm forwarding this to the gsasl list so that others can
see it.  I think we'll eventually end up with a number of win32
packages:

* full gsasl win32 installer, built with mingw32, like the one from
  http://josefsson.org/gnutls4win/

* minimal (lib)gsasl win32 packages, built with mingw32, similar like
  what the gnuwin32 project provides.  Possibly they can package
  gsasl...

* native msvs project files.

* cygwin-packages?  I don't use cygwin much these days, but if someone
  cares we could do it.

There are also potentially two versions of each flavor: with and without
libgcrypt dependency.

>> It seems fine except for the RNG stuff -- using time() as seed doesn't
>> yield sufficient entropy.  Windows do have a RNG which could be
>> used, in
>> the CryptGenRandom function.  I know there are known security problems
>> with it, but it should be better than Mersenne twister based on time,
>> and for people who want a better fix, they can replace the CSP.
>> What do
>> you think about using it?
>> http://msdn2.microsoft.com/en-us/library/ms884454.aspx
>
> Yeah, that wasn't the cutest thing I've done ;) Attached patches use
> CryptGenRandom now, thanks for the tip.
> Patches were tested on Windows XP and Windows 2003.

Thanks, this is better.  I think we should note in the documentation
that the Windows PRNG is known to have some known flaws.

There is a *.def file in your patch, isn't it possible to generate it?
I didn't see one in your libidn patch.  When I build the mingw build, it
will generate a *.def file too.  I'm worried I have to manually have to
maintain the file.

Otherwise I think the patch looks fine, and we should install something
like it when the copyright assignment arrives.

/Simon
diff --git a/lib/README.win32 b/lib/README.win32
new file mode 100644
index 0000000..6089f67
--- /dev/null
+++ b/lib/README.win32
@@ -0,0 +1,8 @@
+libgsasl 0.2.x for win32
+========================
+
+Requirements:
+* Visual Studio 2005 (C++)
+
+Please open win32/libgsasl.sln and build. Output libraries will be written into
+win32/lib (win32/lib/debug for Debug versions) folder.
diff --git a/lib/gl/gc-gnulib.c b/lib/gl/gc-gnulib.c
index c199833..4675864 100644
--- a/lib/gl/gc-gnulib.c
+++ b/lib/gl/gc-gnulib.c
@@ -73,15 +73,31 @@
 #undef open
 #undef close
 
+#ifdef _WIN32
+#include <windows.h>
+HCRYPTPROV g_hProv = 0;
+#endif
+
 Gc_rc
 gc_init (void)
 {
+#ifdef _WIN32
+  if(g_hProv) CryptReleaseContext(g_hProv, 0);
+  CryptAcquireContext(&g_hProv, NULL, NULL, PROV_RSA_FULL, 0);
+#endif
   return GC_OK;
 }
 
 void
 gc_done (void)
 {
+#ifdef _WIN32
+  if(g_hProv)
+  {
+    CryptReleaseContext(g_hProv, 0);
+    g_hProv = 0;
+  }
+#endif
   return;
 }
 
@@ -92,6 +108,7 @@ gc_done (void)
 static Gc_rc
 randomize (int level, char *data, size_t datalen)
 {
+#ifndef _WIN32
   int fd;
   const char *device;
   size_t len = 0;
@@ -140,7 +157,11 @@ randomize (int level, char *data, size_t datalen)
   rc = close (fd);
   if (rc < 0)
     return GC_RANDOM_ERROR;
-
+#else
+  if(!g_hProv)
+    return GC_RANDOM_ERROR;
+  CryptGenRandom(g_hProv, (DWORD)datalen, data);
+#endif
   return GC_OK;
 }
 
diff --git a/lib/gl/vasnprintf.c b/lib/gl/vasnprintf.c
index 6c8d5dc..3082b68 100644
--- a/lib/gl/vasnprintf.c
+++ b/lib/gl/vasnprintf.c
@@ -4008,7 +4008,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
 #endif
                  *fbp = dp->conversion;
 #if USE_SNPRINTF
-# if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3))
+# if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3) || (_MSC_VER 
>= 1400))
                fbp[1] = '%';
                fbp[2] = 'n';
                fbp[3] = '\0';
diff --git a/lib/win32/include/ac-stdint.h b/lib/win32/include/ac-stdint.h
new file mode 100644
index 0000000..9005021
--- /dev/null
+++ b/lib/win32/include/ac-stdint.h
@@ -0,0 +1,25 @@
+#ifndef _AC_STDINT_H
+#define _AC_STDINT_H 1
+#ifndef _GENERATED_STDINT_H
+#define _GENERATED_STDINT_H
+
+#define uint8_t                unsigned char
+#define uint16_t       unsigned short
+#define uint32_t       unsigned int
+#define int8_t         signed char
+#define int16_t                signed short
+#define int32_t                signed int
+
+#define gint16         int16_t
+
+#ifdef  _WIN64
+typedef __int64                ssize_t;
+#else
+typedef _W64 int       ssize_t;
+#endif
+
+typedef long long      intmax_t;
+typedef unsigned long long     uintmax_t;
+
+#endif
+#endif
diff --git a/lib/win32/include/alloca.h b/lib/win32/include/alloca.h
new file mode 100644
index 0000000..e2222ea
--- /dev/null
+++ b/lib/win32/include/alloca.h
@@ -0,0 +1,55 @@
+/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
+/* Memory allocation on the stack.
+
+   Copyright (C) 1995, 1999, 2001-2004, 2006-2007 Free Software
+   Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify it
+   under the terms of the GNU Lesser General Public License as published
+   by the Free Software Foundation; either version 2.1, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+   USA.  */
+
+/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H
+   means there is a real alloca function.  */
+#ifndef _GL_ALLOCA_H
+#define _GL_ALLOCA_H
+
+/* alloca (N) returns a pointer to N bytes of memory
+   allocated on the stack, which will last until the function returns.
+   Use of alloca should be avoided:
+     - inside arguments of function calls - undefined behaviour,
+     - in inline functions - the allocation may actually last until the
+       calling function returns,
+     - for huge N (say, N >= 65536) - you never know how large (or small)
+       the stack is, and when the stack cannot fulfill the memory allocation
+       request, the program just crashes.
+ */
+
+#ifndef alloca
+# ifdef __GNUC__
+#  define alloca __builtin_alloca
+# elif defined _AIX
+#  define alloca __alloca
+# elif defined _MSC_VER
+#  include <malloc.h>
+#  define alloca _alloca
+# else
+#  include <stddef.h>
+#  ifdef  __cplusplus
+extern "C"
+#  endif
+void *alloca (size_t);
+# endif
+#endif
+
+#endif /* _GL_ALLOCA_H */
diff --git a/lib/win32/include/config.h b/lib/win32/include/config.h
new file mode 100644
index 0000000..218c104
--- /dev/null
+++ b/lib/win32/include/config.h
@@ -0,0 +1,78 @@
+#ifndef _CONFIG_H
+#define _CONFIG_H
+
+#define PACKAGE "libgsasl"
+#define PACKAGE_BUGREPORT "address@hidden"
+#define PACKAGE_NAME "libgsasl"
+#define PACKAGE_STRING "libgsasl 0.2-win32"
+#define PACKAGE_TARNAME "libgsasl"
+#define PACKAGE_VERSION "0.2-win32"
+
+#define strcasecmp stricmp
+#define strncasecmp strnicmp
+
+#define LOCALEDIR "."
+
+#if _MSC_VER && !__cplusplus
+# define inline __inline
+#endif
+
+#define EOVERFLOW E2BIG
+#define GNULIB_GC_HMAC_MD5 1
+#define GNULIB_GC_MD5 1
+#define GNULIB_GC_RANDOM 1
+#define HAVE_ALLOCA 1
+#define HAVE_DECL_GETDELIM 0
+#define HAVE_DECL_GETLINE 0
+#define HAVE_DECL_STRDUP 1
+#define HAVE_DECL__SNPRINTF 1
+#define HAVE_FLOAT_H 1
+#define HAVE_INCLUDE_NEXT 1
+#define HAVE_INTMAX_T 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_INTTYPES_H_WITH_UINTMAX 1
+#define HAVE_LONG_LONG_INT 1
+#define HAVE_MEMORY_H 1
+#define HAVE_SNPRINTF 1
+#define HAVE_STDBOOL_H 1
+// #define HAVE_STDINT_H 1
+#define HAVE_STDINT_H_WITH_UINTMAX 1
+#define HAVE_STDIO_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRDUP 1
+#define HAVE_STRINGS_H 1
+#define HAVE_STRING_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_UNSIGNED_LONG_LONG_INT 1
+#define HAVE_WCHAR_H 1
+#define HAVE_WCHAR_T 1
+#define HAVE_WCSLEN 1
+#define HAVE_WINT_T 1
+#define HAVE__BOOL 1
+#define NAME_OF_NONCE_DEVICE "/dev/urandom"
+#define NAME_OF_PSEUDO_RANDOM_DEVICE "/dev/urandom"
+#define NAME_OF_RANDOM_DEVICE "/dev/random"
+
+#define STDC_HEADERS 1
+#define USE_ANONYMOUS 1
+#define USE_CLIENT 1
+#define USE_CRAM_MD5 1
+#define USE_DIGEST_MD5 1
+#define USE_EXTERNAL 1
+#define USE_LOGIN 1
+#define USE_PLAIN 1
+#define USE_SECURID 1
+#define USE_SERVER 1
+#define VERSION "0.2.24"
+
+#define restrict
+#define __attribute__(x)
+
+#ifndef _AC_STDINT_H
+#include <sys/types.h>
+#include "ac-stdint.h"
+#endif
+
+#endif /* _CONFIG_H */
diff --git a/lib/win32/include/idn-int.h b/lib/win32/include/idn-int.h
new file mode 100644
index 0000000..16750fb
--- /dev/null
+++ b/lib/win32/include/idn-int.h
@@ -0,0 +1 @@
+#include "ac-stdint.h"
diff --git a/lib/win32/include/stdbool.h b/lib/win32/include/stdbool.h
new file mode 100644
index 0000000..029602e
--- /dev/null
+++ b/lib/win32/include/stdbool.h
@@ -0,0 +1,11 @@
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+#define _Bool signed char
+enum { false = 0, true = 1 };
+#define bool _Bool
+#define false 0
+#define true 1
+#define __bool_true_false_are_defined 1
+
+#endif /* _STDBOOL_H */
diff --git a/lib/win32/include/stdint.h b/lib/win32/include/stdint.h
new file mode 100644
index 0000000..16750fb
--- /dev/null
+++ b/lib/win32/include/stdint.h
@@ -0,0 +1 @@
+#include "ac-stdint.h"
diff --git a/lib/win32/include/unistd.h b/lib/win32/include/unistd.h
new file mode 100644
index 0000000..e69de29
diff --git a/lib/win32/libgsasl.def b/lib/win32/libgsasl.def
new file mode 100644
index 0000000..7577dc4
--- /dev/null
+++ b/lib/win32/libgsasl.def
@@ -0,0 +1,120 @@
+EXPORTS
+    GSASL_VALID_MECHANISM_CHARACTERS @1 DATA
+    gsasl_anonymous_mechanism @2 DATA
+    gsasl_appinfo_get @3
+    gsasl_appinfo_set @4
+    gsasl_application_data_get @5
+    gsasl_application_data_set @6
+    gsasl_base64_decode @7
+    gsasl_base64_encode @8
+    gsasl_base64_from @9
+    gsasl_base64_to @10
+    gsasl_callback @11
+    gsasl_callback_hook_get @12
+    gsasl_callback_hook_set @13
+    gsasl_callback_set @14
+    gsasl_check_version @15
+    gsasl_client_application_data_get @16
+    gsasl_client_application_data_set @17
+    gsasl_client_callback_anonymous_get @18
+    gsasl_client_callback_anonymous_set @19
+    gsasl_client_callback_authentication_id_get @20
+    gsasl_client_callback_authentication_id_set @21
+    gsasl_client_callback_authorization_id_get @22
+    gsasl_client_callback_authorization_id_set @23
+    gsasl_client_callback_maxbuf_get @24
+    gsasl_client_callback_maxbuf_set @25
+    gsasl_client_callback_passcode_get @26
+    gsasl_client_callback_passcode_set @27
+    gsasl_client_callback_password_get @28
+    gsasl_client_callback_password_set @29
+    gsasl_client_callback_pin_get @30
+    gsasl_client_callback_pin_set @31
+    gsasl_client_callback_qop_get @32
+    gsasl_client_callback_qop_set @33
+    gsasl_client_callback_realm_get @34
+    gsasl_client_callback_realm_set @35
+    gsasl_client_callback_service_get @36
+    gsasl_client_callback_service_set @37
+    gsasl_client_ctx_get @38
+    gsasl_client_finish @39
+    gsasl_client_listmech @40
+    gsasl_client_mechlist @41
+    gsasl_client_start @42
+    gsasl_client_step @43
+    gsasl_client_step_base64 @44
+    gsasl_client_suggest_mechanism @45
+    gsasl_client_support_p @46
+    gsasl_cram_md5_mechanism @47 DATA
+    gsasl_ctx_get @48
+    gsasl_decode @49
+    gsasl_decode_inline @50
+    gsasl_digest_md5_mechanism @51 DATA
+    gsasl_done @52
+    gsasl_encode @53
+    gsasl_encode_inline @54
+    gsasl_external_mechanism @55 DATA
+    gsasl_finish @56
+    gsasl_free @57
+    gsasl_hmac_md5 @58
+    gsasl_init @59
+    gsasl_login_mechanism @60 DATA
+    gsasl_md5 @61
+    gsasl_md5pwd_get_password @62
+    gsasl_nonce @63
+    gsasl_plain_mechanism @64 DATA
+    gsasl_property_fast @65
+    gsasl_property_get @66
+    gsasl_property_set @67
+    gsasl_property_set_raw @68
+    gsasl_random @69
+    gsasl_randomize @70
+    gsasl_register @71
+    gsasl_saslprep @72
+    gsasl_securid_mechanism @73 DATA
+    gsasl_server_application_data_get @74
+    gsasl_server_application_data_set @75
+    gsasl_server_callback_anonymous_get @76
+    gsasl_server_callback_anonymous_set @77
+    gsasl_server_callback_cipher_get @78
+    gsasl_server_callback_cipher_set @79
+    gsasl_server_callback_cram_md5_get @80
+    gsasl_server_callback_cram_md5_set @81
+    gsasl_server_callback_digest_md5_get @82
+    gsasl_server_callback_digest_md5_set @83
+    gsasl_server_callback_external_get @84
+    gsasl_server_callback_external_set @85
+    gsasl_server_callback_gssapi_get @86
+    gsasl_server_callback_gssapi_set @87
+    gsasl_server_callback_maxbuf_get @88
+    gsasl_server_callback_maxbuf_set @89
+    gsasl_server_callback_qop_get @90
+    gsasl_server_callback_qop_set @91
+    gsasl_server_callback_realm_get @92
+    gsasl_server_callback_realm_set @93
+    gsasl_server_callback_retrieve_get @94
+    gsasl_server_callback_retrieve_set @95
+    gsasl_server_callback_securid_get @96
+    gsasl_server_callback_securid_set @97
+    gsasl_server_callback_service_get @98
+    gsasl_server_callback_service_set @99
+    gsasl_server_callback_validate_get @100
+    gsasl_server_callback_validate_set @101
+    gsasl_server_ctx_get @102
+    gsasl_server_finish @103
+    gsasl_server_listmech @104
+    gsasl_server_mechlist @105
+    gsasl_server_start @106
+    gsasl_server_step @107
+    gsasl_server_step_base64 @108
+    gsasl_server_suggest_mechanism @109
+    gsasl_server_support_p @110
+    gsasl_session_hook_get @111
+    gsasl_session_hook_set @112
+    gsasl_simple_getpass @113
+    gsasl_step @114
+    gsasl_step64 @115
+    gsasl_strerror @116
+    gsasl_stringprep_nfkc @117
+    gsasl_stringprep_saslprep @118
+    gsasl_stringprep_trace @119
diff --git a/lib/win32/libgsasl.sln b/lib/win32/libgsasl.sln
new file mode 100644
index 0000000..9d1420d
--- /dev/null
+++ b/lib/win32/libgsasl.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgsasl", 
"libgsasl.vcproj", "{0B883079-812A-405E-AC8F-59F47CE9A3FF}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Win32 = Debug|Win32
+               Release|Win32 = Release|Win32
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Debug|Win32.ActiveCfg = 
Debug|Win32
+               {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Debug|Win32.Build.0 = 
Debug|Win32
+               {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Release|Win32.ActiveCfg 
= Release|Win32
+               {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Release|Win32.Build.0 = 
Release|Win32
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/lib/win32/libgsasl.vcproj b/lib/win32/libgsasl.vcproj
new file mode 100644
index 0000000..0617ba9
--- /dev/null
+++ b/lib/win32/libgsasl.vcproj
@@ -0,0 +1,862 @@
+<?xml version="1.0" encoding="windows-1250"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8,00"
+       Name="libgsasl"
+       ProjectGUID="{0B883079-812A-405E-AC8F-59F47CE9A3FF}"
+       RootNamespace="libgsasl"
+       Keyword="Win32Proj"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+                       IntermediateDirectory="$(ConfigurationName)"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                               CommandLine=""
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               
AdditionalIncludeDirectories="include;../src;../gl;.."
+                               
PreprocessorDefinitions="WIN32;_DEBUG;_USRDLL;LIBgsasl_EXPORTS;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
+                               MinimalRebuild="true"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="3"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="4"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               OutputFile="lib/debug/$(ProjectName).dll"
+                               ModuleDefinitionFile="$(ProjectName).def"
+                               GenerateDebugInformation="true"
+                               ImportLibrary="lib/debug/$(TargetName).lib"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+                       IntermediateDirectory="$(ConfigurationName)"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       WholeProgramOptimization="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                               CommandLine=""
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               
AdditionalIncludeDirectories="include;../src;../gl;.."
+                               
PreprocessorDefinitions="WIN32;NDEBUG;_USRDLL;LIBgsasl_EXPORTS;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
+                               RuntimeLibrary="2"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="3"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               OutputFile="lib/$(ProjectName).dll"
+                               ModuleDefinitionFile="$(ProjectName).def"
+                               ImportLibrary="lib/$(TargetName).lib"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                       
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                       >
+                       <File
+                               RelativePath="..\src\base64.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\callback.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\crypto.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\done.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\doxygen.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\error.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\free.c"
+                               >
+                               <FileConfiguration
+                                       Name="Debug|Win32"
+                                       >
+                                       <Tool
+                                               Name="VCCLCompilerTool"
+                                               
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                               
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                       />
+                               </FileConfiguration>
+                               <FileConfiguration
+                                       Name="Release|Win32"
+                                       >
+                                       <Tool
+                                               Name="VCCLCompilerTool"
+                                               
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                               
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                       />
+                               </FileConfiguration>
+                       </File>
+                       <File
+                               RelativePath="..\src\init.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\listmech.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\md5pwd.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\obsolete.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\property.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\register.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\saslprep.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\suggest.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\supportp.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\version.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\xcode.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\xfinish.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\xstart.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\src\xstep.c"
+                               >
+                       </File>
+                       <Filter
+                               Name="anonymous"
+                               >
+                               <File
+                                       RelativePath="..\anonymous\client.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\anonymous\mechinfo.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\anonymous\server.c"
+                                       >
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="cram-md5"
+                               >
+                               <File
+                                       RelativePath="..\cram-md5\challenge.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\cram-md5\client.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\cram-md5\digest.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\cram-md5\mechinfo.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\cram-md5\server.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="digest-md5"
+                               >
+                               <File
+                                       RelativePath="..\digest-md5\client.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)2.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)2.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)2.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)2.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       
RelativePath="..\digest-md5\digesthmac.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\free.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\getsubopt.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\mechinfo.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)2.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)2.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)2.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)2.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\parser.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\printer.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\server.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)2.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)2.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)2.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)2.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\session.c"
+                                       >
+                               </File>
+                               <File
+                                       
RelativePath="..\digest-md5\test-parser.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\digest-md5\validate.c"
+                                       >
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="external"
+                               >
+                               <File
+                                       RelativePath="..\external\client.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)3.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)3.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)3.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)3.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\external\mechinfo.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)3.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)3.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)3.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)3.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\external\server.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)3.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)3.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)3.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)3.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="login"
+                               >
+                               <File
+                                       RelativePath="..\login\client.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)4.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)4.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)4.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)4.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\login\mechinfo.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)4.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)4.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)4.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)4.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\login\server.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)4.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)4.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)4.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)4.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="plain"
+                               >
+                               <File
+                                       RelativePath="..\plain\client.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)6.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)6.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)6.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)6.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\plain\mechinfo.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)6.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)6.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)6.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)6.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\plain\server.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)6.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)6.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)6.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)6.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="securid"
+                               >
+                               <File
+                                       RelativePath="..\securid\client.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)5.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)5.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)5.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)5.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\securid\mechinfo.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)5.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)5.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)5.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)5.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\securid\server.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)5.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)5.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)5.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)5.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="gl"
+                               >
+                               <File
+                                       RelativePath="..\gl\asnprintf.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\asprintf.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\base64.c"
+                                       >
+                                       <FileConfiguration
+                                               Name="Debug|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                                       <FileConfiguration
+                                               Name="Release|Win32"
+                                               >
+                                               <Tool
+                                                       Name="VCCLCompilerTool"
+                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
+                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+                                               />
+                                       </FileConfiguration>
+                               </File>
+                               <File
+                                       RelativePath="..\gl\gc-gnulib.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\getdelim.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\getline.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\hmac-md5.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\malloc.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\md5.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\memxor.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\printf-args.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\printf-parse.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\realloc.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\strdup.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\strverscmp.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\vasnprintf.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\gl\vasprintf.c"
+                                       >
+                               </File>
+                       </Filter>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                       
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                       >
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                       
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                       >
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]