Searched refs:creds_array (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/MITKerberosShim-66/mittestcc/
H A Dtest_ccapi_ccache.c965 cc_credentials_t creds_array[10]; local
1005 creds_array[i++] = creds;
1013 check_once_cc_ccache_remove_credentials(ccache, creds_array[i], ccNoError, "10 ok creds");
1020 check_once_cc_ccache_remove_credentials(ccache, creds_array[0], ccErrCredentialsNotFound, "removed same creds twice");
1037 check_once_cc_ccache_remove_credentials(ccache, creds_array[8], ccErrCredentialsNotFound, "invalid ccache");
1041 if (creds_array[i]) { cc_credentials_release(creds_array[i]); }
H A Dtest_ccapi_v2.c1208 cred_union *creds_array[10]; local
1242 creds_array[i] = NULL;
1243 err = cc_seq_fetch_creds_next(context, &creds_array[i], iterator);
1249 check_once_cc_remove_cred(context, ccache, *creds_array[i], CC_NOERROR, "10 ok creds");
1253 check_once_cc_remove_cred(context, ccache, *creds_array[0], CC_NOTFOUND, "removed same creds twice");
1267 check_once_cc_remove_cred(context, ccache, *creds_array[0], CC_NO_EXIST, "invalid ccache");
1273 for(i = 0; i < 10 && creds_array[i]; i++) {
1274 cc_free_creds(context, &creds_array[i]);

Completed in 112 milliseconds