CC_NOERROR
cc_result err = CC_NOERROR;
if (err == CC_END) { err = CC_NOERROR; }
if (in_error >= CC_NOERROR && in_error <= CC_ERR_CRED_VERSION) {
return CC_NOERROR;
check_once_cc_store(context, ccache, creds_union, CC_NOERROR, "ok creds");
cc_result err = CC_NOERROR;
CC_NOERROR,
err = CC_NOERROR;
if (err == CC_END) { err = CC_NOERROR; }
check_once_cc_remove_cred(context, ccache, *creds_array[i], CC_NOERROR, "10 ok creds");
cc_result err = CC_NOERROR;
cc_result err = CC_NOERROR;
CC_NOERROR,
err = CC_NOERROR;
check_once_cc_seq_fetch_NCs_begin(context, &iterator, CC_NOERROR, "when there are no existing ccaches");
check_once_cc_seq_fetch_NCs_begin(context, &iterator, CC_NOERROR, "when at least one ccache already exists");
cc_result err = CC_NOERROR;
CC_NOERROR,
check_once_cc_seq_fetch_NCs_next(context, iterator, 0, CC_NOERROR, "iterating over an empty collection");
check_once_cc_seq_fetch_NCs_next(context, iterator, 1, CC_NOERROR, "iterating over a collection of 1 ccache");
check_once_cc_seq_fetch_NCs_next(context, iterator, 1000, CC_NOERROR, "iterating over a collection of 1000 ccache");
cc_result err = CC_NOERROR;
CC_NOERROR,
err = CC_NOERROR;
check_once_cc_get_NC_info(context, "", "", CC_CRED_MAX, 0, CC_NOERROR, "iterating over an empty collection");
check_once_cc_get_NC_info(context, "TEST_CC_GET_NC_INFO", "foo@BAR.ORG", CC_CRED_V5, 1, CC_NOERROR, "iterating over a collection of 1 ccache");
check_once_cc_get_NC_info(context, "TEST_CC_GET_NC_INFO", "foo@BAR.ORG", CC_CRED_V5, 1000, CC_NOERROR, "iterating over a collection of 1000 ccache");
err = check_once_cc_shutdown(&context, CC_NOERROR, NULL);
cc_result err = CC_NOERROR;
CC_NOERROR,
check_once_cc_seq_fetch_creds_begin(context, ccache, &creds_iterator, CC_NOERROR, "valid params");
cc_result err = CC_NOERROR;
CC_NOERROR,
CC_NOERROR,
check_once_cc_seq_fetch_creds_next(context, iterator, 0, CC_NOERROR, "iterating over an empty ccache");
check_once_cc_seq_fetch_creds_next(context, iterator, 1, CC_NOERROR, "iterating over a ccache with 1 cred");
check_once_cc_seq_fetch_creds_next(context, iterator, 1000, CC_NOERROR, "iterating over a ccache with 1000 creds");
cc_result err = CC_NOERROR;
CC_NOERROR,
err = CC_NOERROR;
check_once_cc_get_change_time(context, &last_change_time, CC_NOERROR, "first-run, should be > 0");
check_once_cc_get_change_time(context, &last_change_time, CC_NOERROR, "after creating a new ccache");
err = CC_NOERROR;
check_once_cc_get_change_time(context, &last_change_time, CC_NOERROR, "after changing a principle");
err = CC_NOERROR;
check_once_cc_get_change_time(context, &last_change_time, CC_NOERROR, "after storing a credential");
err = CC_NOERROR;
check_once_cc_get_change_time(context, &last_change_time, CC_NOERROR, "after removing a credential");
check_once_cc_get_change_time(context, &last_change_time, CC_NOERROR, "after destroying a ccache");
CC_NOERROR,
err = check_once_cc_open(context, name, CC_CRED_V5, &ccache, CC_NOERROR, NULL);
CC_NOERROR,
err = CC_NOERROR; /* ccache does not exist */
err = check_once_cc_create(context, name, CC_CRED_V5, "foo@BAR.ORG", &ccache, CC_NOERROR, NULL);
err = check_once_cc_create(context, name, CC_CRED_V5, "foo/baz@BAR.ORG", &ccache, CC_NOERROR, NULL);
CC_NOERROR,
check_once_cc_close(context, ccache, CC_NOERROR, NULL);
cc_result err = CC_NOERROR;
CC_NOERROR,
check_if(err != CC_NOERROR, "released ccache cannot be opened");
cc_result err = CC_NOERROR;
check_once_cc_destroy(context, ccache, CC_NOERROR, NULL);
cc_result err = CC_NOERROR;
CC_NOERROR,
check_once_cc_get_cred_version(context, ccache, CC_CRED_V5, CC_NOERROR, "v5 creds");
err = CC_NOERROR;
cc_result err = CC_NOERROR;
CC_NOERROR,
check_once_cc_get_name(context, ccache, "0", CC_NOERROR, "unique ccache (which happens to be default)");
check_once_cc_get_name(context, ccache, "1", CC_NOERROR, "unique ccache (which is not default)");
cc_result err = CC_NOERROR;
CC_NOERROR,
check_once_cc_get_principal(context, ccache, "foo/BAR@BAZ.ORG", CC_NOERROR, "trying to get krb5 princ for krb5 ccache");
cc_result err = CC_NOERROR;
CC_NOERROR,
cc_result err = CC_NOERROR;
CC_NOERROR,