Skip to content

Commit

Permalink
Hide principal names in errors with FAST
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Dukhovni committed Dec 6, 2017
1 parent 1a6a6e4 commit 8ec4f23
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions kdc/fast.c
Expand Up @@ -286,12 +286,10 @@ _kdc_fast_mk_error(krb5_context context,
return ret;
}

if (/* hide_principal */ 0) {
error_client_name = NULL;
error_client_realm = NULL;
error_server = NULL;
e_text = NULL;
}
error_client_name = NULL;
error_client_realm = NULL;
error_server = NULL;
e_text = NULL;

if (r)
ret = fast_add_cookie(r, error_method);
Expand Down

0 comments on commit 8ec4f23

Please sign in to comment.