mirror of
https://github.com/curl/curl.git
synced 2026-07-23 12:57:17 +03:00
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. : ----------------------------------------------------------------------
This commit is contained in:
parent
e00216581e
commit
175335808b
5 changed files with 58 additions and 21 deletions
|
|
@ -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= \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue