Lines Matching refs:kctx
28 int mock_keytab(krb5_context kctx,
37 kerr = krb5_kt_resolve(kctx, kt_path, &keytab);
41 kerr = krb5_kt_add_entry(kctx, keytab, &kt_keys[n]);
45 kerr = krb5_kt_close(kctx, keytab);
74 krb5_context kctx;
81 kerr = krb5_init_context(&kctx);
87 kerr = krb5_parse_name(kctx, keytab_princ, &principal);
95 kerr = mock_keytab(kctx, keytab_file_name, keys, nkeys);
98 krb5_free_principal(kctx, principal);
99 krb5_free_context(kctx);