aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-16 14:39:26 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-16 14:52:27 +0000
commit800094802e29935e2785fb9d33c3b3a6af0ad818 (patch)
treeb86dfde0c56c8968987078e76bc8f464281618f6
parent9669794e7aeebead1c085cab7a9de2ffd1ed7923 (diff)
sasl_sspi: Fixed compilation warnings when no verbose string support
-rw-r--r--lib/curl_sasl_sspi.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/curl_sasl_sspi.c b/lib/curl_sasl_sspi.c
index ac8d09cda..03a466b83 100644
--- a/lib/curl_sasl_sspi.c
+++ b/lib/curl_sasl_sspi.c
@@ -623,6 +623,10 @@ CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
unsigned char *type2 = NULL;
size_t type2_len = 0;
+#if defined(CURL_DISABLE_VERBOSE_STRINGS)
+ (void) data;
+#endif
+
/* Decode the base-64 encoded type-2 message */
if(strlen(type2msg) && *type2msg != '=') {
result = Curl_base64_decode(type2msg, &type2, &type2_len);
@@ -713,7 +717,7 @@ CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data,
}
/* Base64 encode the response */
- result = Curl_base64_encode(NULL, (char *) ntlm->output_token,
+ result = Curl_base64_encode(data, (char *) ntlm->output_token,
type_3_buf.cbBuffer, outptr, outlen);
Curl_sasl_ntlm_cleanup(ntlm);