mirror of
https://github.com/curl/curl.git
synced 2026-07-21 02:27:20 +03:00
http_negotiate: Added empty decoded challenge message info text
This commit is contained in:
parent
47438daa60
commit
81b98dafa1
2 changed files with 9 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue