diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2012-04-15 04:12:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-06-11 19:00:35 +0200 |
commit | 7047e2ed725d24f7fe4ce7c566ef0a9342e3be9c (patch) | |
tree | ad5381e1012ce358089bb9b6dc932034cc6989f1 /lib/curl_schannel.h | |
parent | c1311c2b8f34c352d771f1d5810e64141aa802b1 (diff) | |
download | curl-7047e2ed725d24f7fe4ce7c566ef0a9342e3be9c.tar.gz |
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
Diffstat (limited to 'lib/curl_schannel.h')
-rw-r--r-- | lib/curl_schannel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_schannel.h b/lib/curl_schannel.h index 3e24fadb9..fa19a02de 100644 --- a/lib/curl_schannel.h +++ b/lib/curl_schannel.h @@ -93,6 +93,10 @@ #endif +#define CURL_SCHANNEL_BUFFER_INIT_SIZE 4096 +#define CURL_SCHANNEL_BUFFER_STEP_SIZE 2048 + + CURLcode Curl_schannel_connect(struct connectdata *conn, int sockindex); CURLcode Curl_schannel_connect_nonblocking(struct connectdata *conn, |