(main): only request a renewable ticket when explicitly requested. it

still gets a renewable one if the renew life is specified


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9728 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-03-02 05:07:32 +00:00
parent 283db8b3a6
commit 1dd105ff08

View File

@@ -440,7 +440,7 @@ main (int argc, char **argv)
errx (1, "unparsable time: %s", renew_life);
krb5_get_init_creds_opt_set_renew_life (&opt, tmp);
} else if (renewable_flag)
} else if (renewable_flag == 1)
krb5_get_init_creds_opt_set_renew_life (&opt, 1 << 30);
if(ticket_life != 0)