Lines Matching refs:k5
737 struct k5_data k5; in renew_creds() local
756 (void) memset(&k5, 0, sizeof (k5)); in renew_creds()
758 if (code = krb5_init_context(&k5.ctx)) { in renew_creds()
764 if ((code = krb5_cc_default(k5.ctx, &k5.cc))) { in renew_creds()
771 if ((code = krb5_parse_name(k5.ctx, princ, in renew_creds()
772 &k5.me))) { in renew_creds()
778 if ((code = krb5_get_renewed_creds(k5.ctx, &my_creds, k5.me, k5.cc, in renew_creds()
784 if (code = krb5_cc_initialize(k5.ctx, k5.cc, k5.me)) { in renew_creds()
790 if (code = krb5_cc_store_cred(k5.ctx, k5.cc, &my_creds)) { in renew_creds()
799 krb5_free_cred_contents(k5.ctx, &my_creds); in renew_creds()
801 if (k5.name) in renew_creds()
802 krb5_free_unparsed_name(k5.ctx, k5.name); in renew_creds()
803 if (k5.me) in renew_creds()
804 krb5_free_principal(k5.ctx, k5.me); in renew_creds()
805 if (k5.cc) in renew_creds()
806 krb5_cc_close(k5.ctx, k5.cc); in renew_creds()
807 if (k5.ctx) in renew_creds()
808 krb5_free_context(k5.ctx); in renew_creds()