aboutsummaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-17 11:59:44 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-17 14:58:36 +0000
commit81b98dafa19aa88166a7190769afbd359156df00 (patch)
tree7df29b871a3c7ebaee4eb0248082473754dde0ce /lib/http_negotiate.c
parent47438daa60ccb1b6b07acd30e4fd9d0d724bbdc7 (diff)
http_negotiate: Added empty decoded challenge message info text
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r--lib/http_negotiate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index 6e882a337..6a4b8660f 100644
--- a/lib/http_negotiate.c
+++ b/lib/http_negotiate.c
@@ -101,8 +101,11 @@ CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
if(result)
return result;
- if(!rawlen)
+ if(!rawlen) {
+ infof(data, "Negotiate handshake failure (empty challenge message)\n");
+
return CURLE_BAD_CONTENT_ENCODING;
+ }
input_token.length = rawlen;