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:
Johan Danielsson
1997-07-17 18:57:36 +00:00
parent e8c941d767
commit ec6d4afd3f

View File

@@ -62,7 +62,11 @@ print_cred(krb5_context context, krb5_creds *cred)
gettimeofday(&now, NULL);
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