From a5f93c953e1b0d351d9bf1eda79de3847dae5094 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 27 Oct 2000 14:34:59 +0000 Subject: [PATCH] fix v4 fallback lifetime calculation git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9131 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/kinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kuser/kinit.c b/kuser/kinit.c index 4498c7314..7e3a8335e 100644 --- a/kuser/kinit.c +++ b/kuser/kinit.c @@ -62,8 +62,8 @@ do_v4_fallback (krb5_context context, if (lifetime == 0) lifetime = DEFAULT_TKT_LIFE; - - lifetime = krb_time_to_life (0, lifetime * 60); + else + lifetime = krb_time_to_life (0, lifetime); kret = krb5_524_conv_principal (context, principal, princ.name,