diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-11-23 10:32:49 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-11-23 10:38:54 +0000 |
commit | 409265a571e3b0202db0db9511d9c11463dbc66d (patch) | |
tree | 8533c88686044e64d4f6fbe36a55b54a0e6031fe /lib/curl_ntlm_msgs.c | |
parent | 885119bf50617d37fbeb10fc659efab793225a1c (diff) | |
download | curl-409265a571e3b0202db0db9511d9c11463dbc66d.tar.gz |
ntlm: Fixed static'ness of local decode function
Diffstat (limited to 'lib/curl_ntlm_msgs.c')
-rw-r--r-- | lib/curl_ntlm_msgs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c index 6bef72856..d0672af36 100644 --- a/lib/curl_ntlm_msgs.c +++ b/lib/curl_ntlm_msgs.c @@ -166,7 +166,7 @@ static unsigned int readshort_le(unsigned char *buf) } /* - * Curl_ntlm_decode_type2_target() + * ntlm_decode_type2_target() * * This is used to decode the "target info" in the ntlm type-2 message * received. @@ -180,10 +180,10 @@ static unsigned int readshort_le(unsigned char *buf) * * Returns CURLE_OK on success. */ -CURLcode Curl_ntlm_decode_type2_target(struct SessionHandle *data, - unsigned char *buffer, - size_t size, - struct ntlmdata *ntlm) +static CURLcode ntlm_decode_type2_target(struct SessionHandle *data, + unsigned char *buffer, + size_t size, + struct ntlmdata *ntlm) { unsigned int target_info_len = 0; unsigned int target_info_offset = 0; @@ -303,7 +303,7 @@ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data, memcpy(ntlm->nonce, &type2[24], 8); if(ntlm->flags & NTLMFLAG_NEGOTIATE_TARGET_INFO) { - result = Curl_ntlm_decode_type2_target(data, type2, type2_len, ntlm); + result = ntlm_decode_type2_target(data, type2, type2_len, ntlm); if(result) { free(type2); infof(data, "NTLM handshake failure (bad type-2 message)\n"); |