From 81b98dafa19aa88166a7190769afbd359156df00 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 17 Jan 2015 11:59:44 +0000 Subject: http_negotiate: Added empty decoded challenge message info text --- lib/http_negotiate.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/http_negotiate.c') 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; -- cgit v1.2.3