* klist.c (flags_string): Display transit-policy-checked, ok-as-delegate, and anonymo...
authorKen Raeburn <raeburn@mit.edu>
Wed, 28 Nov 2001 23:51:11 +0000 (23:51 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 28 Nov 2001 23:51:11 +0000 (23:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14029 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/klist/ChangeLog
src/clients/klist/klist.c

index febc9cb889c0957b883ef206c29143636e3e58bd..f262c2a3a430895cc4b2889b57a67afdba0e6d09 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Ken Raeburn  <raeburn@mit.edu>
+
+       * klist.c (flags_string): Display transit-policy-checked,
+       ok-as-delegate, and anonymous ticket flags.
+
 2001-10-09  Ken Raeburn  <raeburn@mit.edu>
 
        * klist.c: Make prototypes unconditional.
index 4e3c4a59327ba7ed5bc8611535db3389d77ac6f9..da12170cb6998559f31acf4f873e702f3e764924 100644 (file)
@@ -521,6 +521,12 @@ flags_string(cred)
        buf[i++] = 'H';
     if (cred->ticket_flags & TKT_FLG_PRE_AUTH)
        buf[i++] = 'A';
+    if (cred->ticket_flags & TKT_FLG_TRANSIT_POLICY_CHECKED)
+       buf[i++] = 'T';
+    if (cred->ticket_flags & TKT_FLG_OK_AS_DELEGATE)
+       buf[i++] = 'O';         /* D/d are taken.  Use short strings?  */
+    if (cred->ticket_flags & TKT_FLG_ANONYMOUS)
+       buf[i++] = 'a';
     buf[i] = '\0';
     return(buf);
 }