mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
http_negotiate: Added empty decoded challenge message info text
This commit is contained in:
parent
47438daa60
commit
81b98dafa1
@ -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…
Reference in New Issue
Block a user