sasl_gssapi: Fixed missing decoding debug failure message

This commit is contained in:
Steve Holme 2014-12-04 22:19:24 +00:00
parent 750203bde4
commit d3cca934ee

View 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;