(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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user