use krb5_is_config_principal()

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23867 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-09-28 05:14:41 +00:00
parent e2c11c1542
commit c433df9fa7

View File

@@ -282,9 +282,7 @@ print_tickets (krb5_context context,
ccache,
&cursor,
&creds)) == 0) {
const char *str;
str = krb5_principal_get_comp_string(context, creds.server, 0);
if (!do_hidden && str && str[0] == '@') {
if (!do_hidden && krb5_is_config_principal(context, creds.server)) {
;
}else if(do_verbose){
print_cred_verbose(context, &creds);