mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
ntlm: Fixed empty type-2 decoded message info text
Updated the info text when the base-64 decode of the type-2 message returns a null buffer to be more specific.
This commit is contained in:
parent
72147c62f7
commit
fa9f5ed982
@ -292,7 +292,7 @@ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data,
|
|||||||
return error;
|
return error;
|
||||||
|
|
||||||
if(!buffer) {
|
if(!buffer) {
|
||||||
infof(data, "NTLM handshake failure (unhandled condition)\n");
|
infof(data, "NTLM handshake failure (empty type-2 message)\n");
|
||||||
return CURLE_BAD_CONTENT_ENCODING;
|
return CURLE_BAD_CONTENT_ENCODING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user