From: Steve Holme Date: Thu, 4 Dec 2014 22:19:24 +0000 (+0000) Subject: sasl_gssapi: Fixed missing decoding debug failure message X-Git-Tag: curl-7_40_0~228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3cca934ee330f63b2745ce78125036a15422a79;p=curl sasl_gssapi: Fixed missing decoding debug failure message --- diff --git a/lib/curl_sasl_gssapi.c b/lib/curl_sasl_gssapi.c index 2bbbc590d..477532fff 100644 --- a/lib/curl_sasl_gssapi.c +++ b/lib/curl_sasl_gssapi.c @@ -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;