Lines Matching defs:kerr
45 krb5_error_code kerr;
63 kerr = krb5_init_context(&test_ctx->kctx);
64 assert_int_equal(kerr, 0);
73 kerr = krb5_parse_name(test_ctx->kctx, CCACHE_TEST_CLIENT_PRINC,
75 assert_int_equal(kerr, 0);
77 kerr = krb5_parse_name(test_ctx->kctx, CCACHE_TEST_SERVER_PRINC,
79 assert_int_equal(kerr, 0);
117 kerr = krb5_cc_resolve(test_ctx->kctx, test_ctx->ccache_file_name,
119 assert_int_equal(kerr, 0);
121 kerr = krb5_cc_initialize(test_ctx->kctx, ccache, test_creds.client);
122 assert_int_equal(kerr, 0);
124 kerr = krb5_cc_store_cred(test_ctx->kctx, ccache, &test_creds);
125 assert_int_equal(kerr, 0);
127 kerr = krb5_cc_close(test_ctx->kctx, ccache);
128 assert_int_equal(kerr, 0);
159 krb5_error_code kerr;
169 kerr = copy_ccache_into_memory(test_ctx, test_ctx->kctx,
172 assert_int_equal(kerr, 0);
175 kerr = krb5_cc_resolve(test_ctx->kctx, mem_ccache_name, &ccache);
176 assert_int_equal(kerr, 0);
180 kerr = krb5_cc_get_principal(test_ctx->kctx, ccache, &mem_principal);
181 assert_int_equal(kerr, 0);
192 kerr = krb5_cc_retrieve_cred(test_ctx->kctx, ccache, 0, &mcreds, &creds);
193 assert_int_equal(kerr, 0);
196 kerr = krb5_cc_destroy(test_ctx->kctx, ccache);
197 assert_int_equal(kerr, 0);