diff options
author | Steve Holme <steve_holme@hotmail.com> | 2011-10-01 13:03:40 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-10-03 23:28:17 +0200 |
commit | 185ed3409a883d32f7b6d41e20fddd5b04d98a7d (patch) | |
tree | 622943a9c6ad4bc76de857e963298dce012ce80b /lib/curl_ntlm_msgs.h | |
parent | d54bcebad49b395b183455133e3e1fc8537826d2 (diff) |
Curl_ntlm_create_typeX_message: Added the outlen parameter
Added the output message length as a parameter to both
Curl_ntlm_create_type1_message() and Curl_ntlm_create_type3_message()
for use by future functions that require it.
Updated curl_ntlm.c to cater for the extra parameter on these two
functions.
Diffstat (limited to 'lib/curl_ntlm_msgs.h')
-rw-r--r-- | lib/curl_ntlm_msgs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/curl_ntlm_msgs.h b/lib/curl_ntlm_msgs.h index 1d4549558..6b6ea2a71 100644 --- a/lib/curl_ntlm_msgs.h +++ b/lib/curl_ntlm_msgs.h @@ -30,14 +30,16 @@ CURLcode Curl_ntlm_create_type1_message(const char *userp, const char *passwdp, struct ntlmdata *ntlm, - char **outptr); + char **outptr, + size_t *outlen); /* This is to generate a base64 encoded NTLM type-3 message */ CURLcode Curl_ntlm_create_type3_message(struct SessionHandle *data, const char *userp, const char *passwdp, struct ntlmdata *ntlm, - char **outptr); + char **outptr, + size_t *outlen); /* This is to decode a NTLM type-2 message */ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data, |