From 3293150da2aa6ba928b0f848a6b690466b227034 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 12 Aug 2011 19:51:50 +0200 Subject: http NTLM: more adjustments in preparation of code refactoring Use preprocessor symbol NTLM_BUFSIZE to define private NTLM buffer fixed size. Use a SessionHandle 'data' pointer variable to ease refactoring. Update NTLM type-* message structure descriptions. Fix some more spacing and typos (Steve Holme). --- lib/http_ntlm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/http_ntlm.h') diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h index 179f08348..f3d51c373 100644 --- a/lib/http_ntlm.h +++ b/lib/http_ntlm.h @@ -50,6 +50,9 @@ void Curl_http_ntlm_cleanup(struct connectdata *conn); #define Curl_http_ntlm_cleanup(x) #endif +/* NTLM buffer fixed size, large enough for long user + host + domain */ +#define NTLM_BUFSIZE 1024 + /* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */ #define NTLMFLAG_NEGOTIATE_UNICODE (1<<0) -- cgit v1.2.1