aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-04 22:19:24 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-04 22:24:24 +0000
commitd3cca934ee330f63b2745ce78125036a15422a79 (patch)
tree8231a677a8fe144cc3949580cbb7e8906b9745a4
parent750203bde46cc6a137c83b668e21d8495c94995a (diff)
sasl_gssapi: Fixed missing decoding debug failure message
-rw-r--r--lib/curl_sasl_gssapi.c5
1 files changed, 4 insertions, 1 deletions
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;