Lines Matching refs:kctx
36 krb5_context kctx;
63 kerr = krb5_init_context(&test_ctx->kctx);
73 kerr = krb5_parse_name(test_ctx->kctx, CCACHE_TEST_CLIENT_PRINC,
77 kerr = krb5_parse_name(test_ctx->kctx, CCACHE_TEST_SERVER_PRINC,
117 kerr = krb5_cc_resolve(test_ctx->kctx, test_ctx->ccache_file_name,
121 kerr = krb5_cc_initialize(test_ctx->kctx, ccache, test_creds.client);
124 kerr = krb5_cc_store_cred(test_ctx->kctx, ccache, &test_creds);
127 kerr = krb5_cc_close(test_ctx->kctx, ccache);
133 krb5_free_authdata(test_ctx->kctx, test_creds.authdata);
144 krb5_free_principal(test_ctx->kctx, test_ctx->client_principal);
145 krb5_free_principal(test_ctx->kctx, test_ctx->server_principal);
146 krb5_free_context(test_ctx->kctx);
169 kerr = copy_ccache_into_memory(test_ctx, test_ctx->kctx,
175 kerr = krb5_cc_resolve(test_ctx->kctx, mem_ccache_name, &ccache);
180 kerr = krb5_cc_get_principal(test_ctx->kctx, ccache, &mem_principal);
184 assert_true(krb5_principal_compare(test_ctx->kctx, mem_principal,
186 krb5_free_principal(test_ctx->kctx, mem_principal);
192 kerr = krb5_cc_retrieve_cred(test_ctx->kctx, ccache, 0, &mcreds, &creds);
194 krb5_free_cred_contents(test_ctx->kctx, &creds);
196 kerr = krb5_cc_destroy(test_ctx->kctx, ccache);