From: Tom Yu Date: Mon, 9 Oct 2000 23:24:18 +0000 (+0000) Subject: * klist.c (do_v4_ccache): Call life_to_time() X-Git-Tag: krb5-1.3-alpha1~1848 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=055addf9681de35e439c8b8e4aa851a8739d1c6b;p=krb5.git * klist.c (do_v4_ccache): Call life_to_time() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12746 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index ed37b6a36..559ac9f46 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,7 @@ +2000-10-09 Tom Yu + + * klist.c (do_v4_ccache): Call life_to_time(). + 2000-08-02 Ezra Peisach * klist.c: Compiler warning cleanups by declaring functions as diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 6f46270fd..c2d37b953 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -801,7 +801,7 @@ do_v4_ccache(name) } printtime(c.issue_date); fputs(" ", stdout); - printtime(c.issue_date + ((unsigned char) c.lifetime) * 5 * 60); + printtime(krb_life_to_time(c.issue_date, c.lifetime)); printf(" %s%s%s%s%s\n", c.service, (c.instance[0] ? "." : ""), c.instance, (c.realm[0] ? "@" : ""), c.realm);