]> granicus.if.org Git - curl/commit
schannel: Code cleanup and bug fixes
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 15 Apr 2012 02:12:26 +0000 (04:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Jun 2012 17:00:35 +0000 (19:00 +0200)
commit7047e2ed725d24f7fe4ce7c566ef0a9342e3be9c
treead5381e1012ce358089bb9b6dc932034cc6989f1
parentc1311c2b8f34c352d771f1d5810e64141aa802b1
schannel: Code cleanup and bug fixes

curl_sspi.c: Fixed mingw32-gcc compiler warnings
curl_sspi.c: Fixed length of error code hex output

The hex value was printed as signed 64-bit value on 64-bit systems:
SEC_E_WRONG_PRINCIPAL (0xFFFFFFFF80090322)

It is now correctly printed as the following:
SEC_E_WRONG_PRINCIPAL (0x80090322)

curl_sspi.c: Fallback to security function table version number
Instead of reporting an unknown version, the interface version is used.

curl_sspi.c: Removed SSPI/ version prefix from Curl_sspi_version
curl_schannel: Replaced static buffer sizes with defined names
curl_schannel.c: First brace when declaring functions on column 0
curl_schannel.c: Put the pointer sign directly at variable name
curl_schannel.c: Use structs directly instead of typedef'ed structs
curl_schannel.c: Removed space before opening brace
curl_schannel.c: Fixed lines being longer than 80 chars
lib/curl_schannel.c
lib/curl_schannel.h
lib/curl_sspi.c
lib/urldata.h