summaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_msgs.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-31 11:56:08 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-31 12:17:00 +0000
commitf4413ca65a2b5bf469df3a4ab05d965e5f59c91d (patch)
tree0b6dcbe899e8962f04a54d5aa69097a48785a386 /lib/curl_ntlm_msgs.c
parent7873f9bdbd9ec1f0746ca0b4cd6468ecac0e2880 (diff)
downloadcurl-f4413ca65a2b5bf469df3a4ab05d965e5f59c91d.tar.gz
endian: Renamed functions for curl API naming convention
Diffstat (limited to 'lib/curl_ntlm_msgs.c')
-rw-r--r--lib/curl_ntlm_msgs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c
index 3d6cf53e0..c25bebe1e 100644
--- a/lib/curl_ntlm_msgs.c
+++ b/lib/curl_ntlm_msgs.c
@@ -173,8 +173,8 @@ static CURLcode ntlm_decode_type2_target(struct SessionHandle *data,
unsigned int target_info_offset = 0;
if(size >= 48) {
- target_info_len = readshort_le(&buffer[40]);
- target_info_offset = readint_le(&buffer[44]);
+ target_info_len = Curl_read16_le(&buffer[40]);
+ target_info_offset = Curl_read32_le(&buffer[44]);
if(target_info_len > 0) {
if(((target_info_offset + target_info_len) > size) ||
(target_info_offset < 48)) {
@@ -287,7 +287,7 @@ CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
return CURLE_BAD_CONTENT_ENCODING;
}
- ntlm->flags = readint_le(&type2[20]);
+ ntlm->flags = Curl_read32_le(&type2[20]);
memcpy(ntlm->nonce, &type2[24], 8);
if(ntlm->flags & NTLMFLAG_NEGOTIATE_TARGET_INFO) {