diff options
author | Steve Holme <steve_holme@hotmail.com> | 2011-08-25 15:09:30 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-08-25 15:13:13 +0200 |
commit | d535cff77517214015e2d495677c40cfdec93053 (patch) | |
tree | 7143a27a6f4c985e6db2331458e67793c5224156 /lib/curl_ntlm.h | |
parent | f5ad192d2373b24ef600358adb78bf02beffe426 (diff) | |
download | curl-d535cff77517214015e2d495677c40cfdec93053.tar.gz |
http NTLM: refactoring followup
Output of Curl_ntlm_create_type1_message() and Curl_ntlm_create_type3_message()
functions is now already base64 encoded.
Diffstat (limited to 'lib/curl_ntlm.h')
-rw-r--r-- | lib/curl_ntlm.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/curl_ntlm.h b/lib/curl_ntlm.h index 24021033a..ef3dfc1e4 100644 --- a/lib/curl_ntlm.h +++ b/lib/curl_ntlm.h @@ -24,22 +24,20 @@ #ifdef USE_NTLM -/* This is to generate a ntlm type-1 message */ +/* This is to generate a base64 encoded NTLM type-1 message */ CURLcode Curl_ntlm_create_type1_message(const char *userp, const char *passwdp, struct ntlmdata *ntlm, - unsigned char *ntlmbuf, - size_t *size); + char **outptr); -/* This is to generate a ntlm type-3 message */ +/* 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, - unsigned char *ntlmbuf, - size_t *size); + char **outptr); -/* This is to decode a ntlm type-2 message */ +/* This is to decode a NTLM type-2 message */ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data, const char* header, struct ntlmdata* ntlm); |