better error message
This commit is contained in:
@@ -1662,7 +1662,8 @@ check_fast(krb5_context context, struct fast_state *state)
|
|||||||
{
|
{
|
||||||
if (state->flags & KRB5_FAST_EXPECTED) {
|
if (state->flags & KRB5_FAST_EXPECTED) {
|
||||||
krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
|
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 KRB5KRB_AP_ERR_MODIFIED;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user