better error message

This commit is contained in:
Love Hörnquist Åstrand
2011-07-24 22:33:39 -07:00
parent 086477a9b5
commit b6fc70019e

View File

@@ -1662,7 +1662,8 @@ check_fast(krb5_context context, struct fast_state *state)
{
if (state->flags & KRB5_FAST_EXPECTED) {
krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
"Expected FAST not not found");
"Expected FAST, but no FAST "
"was in the response from the KDC");
return KRB5KRB_AP_ERR_MODIFIED;
}
return 0;