Print start time of ticket if available.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2406 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -62,7 +62,11 @@ print_cred(krb5_context context, krb5_creds *cred)
|
||||
|
||||
gettimeofday(&now, NULL);
|
||||
|
||||
printf ("%s ", printable_time(cred->times.authtime));
|
||||
if(cred->times.starttime)
|
||||
printf ("%s ", printable_time(cred->times.starttime));
|
||||
else
|
||||
printf ("%s ", printable_time(cred->times.authtime));
|
||||
|
||||
if(cred->times.endtime > now.tv_sec)
|
||||
printf ("%s ", printable_time(cred->times.endtime));
|
||||
else
|
||||
|
Reference in New Issue
Block a user