Skip to content
Snippets Groups Projects
Commit 81b98daf authored by Steve Holme's avatar Steve Holme
Browse files

http_negotiate: Added empty decoded challenge message info text

parent 47438daa
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -168,8 +168,12 @@ CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
if(result)
return result;
if(!input_token_len)
if(!input_token_len) {
infof(conn->data,
"Negotiate handshake failure (empty challenge message)\n");
return CURLE_BAD_CONTENT_ENCODING;
}
}
/* Setup the "output" security buffer */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment