]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ntlm: Fixed empty type-2 decoded message info text
authorSteve Holme <steve_holme@hotmail.com>
Thu, 16 Oct 2014 19:28:30 +0000 (20:28 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 16 Oct 2014 19:30:08 +0000 (20:30 +0100)
Updated the info text when the base-64 decode of the type-2 message
returns a null buffer to be more specific.

lib/curl_ntlm_msgs.c

index 4ce17f13b9397d3c4b3b8a9c033f9d82f829cc4b..3d20e59173846dc733943f758733b679209b8ba0 100644 (file)
@@ -292,7 +292,7 @@ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data,
     return error;
 
   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;
   }