]> granicus.if.org Git - curl/commitdiff
sasl_gssapi: Fixed missing decoding debug failure message
authorSteve Holme <steve_holme@hotmail.com>
Thu, 4 Dec 2014 22:19:24 +0000 (22:19 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 4 Dec 2014 22:24:24 +0000 (22:24 +0000)
lib/curl_sasl_gssapi.c

index 2bbbc590dceed8f0e1a5e3b3658acd4a1763e2a8..477532fff77ddfc221524bd3a08812c0d6f12f37 100644 (file)
@@ -138,8 +138,11 @@ CURLcode Curl_sasl_create_gssapi_user_message(struct SessionHandle *data,
     }
 
     /* Ensure we have a valid challenge message */
-    if(!chlg)
+    if(!chlg) {
+      infof(data, "GSSAPI handshake failure (empty challenge message)\n");
+
       return CURLE_BAD_CONTENT_ENCODING;
+    }
 
     /* Setup the challenge "input" security buffer */
     input_token.value = chlg;