From 175335808b38afdd4aacbbee72eb0a8601f77296 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 8 Nov 2005 14:15:34 +0000 Subject: Dmitry Bartsevich discovered some issues in compatibilty of SSPI-enabled version of libcurl with different Windows versions. Current version of libcurl imports SSPI functions from secur32.dll. However, under Windows NT 4.0 these functions are located in security.dll, under Windows 9x - in secur32.dll and Windows 2000 and XP contains both these DLLs (security.dll just forwards calls to secur32.dll). Dmitry's patch loads proper library dynamically depending on Windows version. Function InitSecurityInterface() is used to obtain pointers to all of SSPI function in one structure. : ---------------------------------------------------------------------- --- src/Makefile.vc6 | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.vc6 b/src/Makefile.vc6 index 60874442e..b7ea2d8b1 100644 --- a/src/Makefile.vc6 +++ b/src/Makefile.vc6 @@ -69,7 +69,6 @@ RESFLAGS = /i../include !IFDEF WINDOWS_SSPI CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include -LFLAGS = $(LFLAGS) $(WINDOWS_SDK_PATH)\lib\secur32.lib !ENDIF RELEASE_OBJS= \ -- cgit v1.2.3