KLStatus KLLoginOptionsSetRenewableLifetime (KLLoginOptions ioOptions, KLLifetime inRenewableLifetime) { LOG_ENTRY(); heim_krb5_get_init_creds_opt_set_renew_life(ioOptions->opt, inRenewableLifetime); return klNoErr; }
static krb5_get_init_creds_opt * mshim_gic_opt(krb5_context context, mit_krb5_get_init_creds_opt *mopt) { krb5_get_init_creds_opt *opt = NULL; if (mopt) { heim_krb5_get_init_creds_opt_alloc(context, &opt); if (mopt->flags & MIT_KRB5_GET_INIT_CREDS_OPT_FORWARDABLE) heim_krb5_get_init_creds_opt_set_forwardable(opt, mopt->forwardable); if (mopt->flags & MIT_KRB5_GET_INIT_CREDS_OPT_PROXIABLE) heim_krb5_get_init_creds_opt_set_proxiable(opt, mopt->proxiable); if (mopt->flags & MIT_KRB5_GET_INIT_CREDS_OPT_CANONICALIZE) heim_krb5_get_init_creds_opt_set_canonicalize(HC(context), opt, TRUE); if (mopt->flags & MIT_KRB5_GET_INIT_CREDS_OPT_TKT_LIFE) heim_krb5_get_init_creds_opt_set_tkt_life(opt, mopt->tkt_life); if (mopt->flags & MIT_KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE) heim_krb5_get_init_creds_opt_set_renew_life(opt, mopt->renew_life); /* XXX */ } return opt; }