Lines Matching refs:choice
3578 * that if there is no error, choice will be set to one of:
3587 int *choice)
3602 assert(choice != NULL);
3702 *choice = i; /* chosen entry of token_choices->token_array */
3705 *choice = RESCAN_TOKENS; /* rescan for new smartcard */
3708 *choice = SKIP_TOKENS; /* skip smartcard auth */
3917 * client criteria the user is prompted to make a choice if in client context.
3936 int choice = 0;
4236 if ((r = pkinit_choose_tokens(context, cctx, &token_choices, &choice)) != 0) {
4243 if (choice == RESCAN_TOKENS) {
4253 } else if (choice == SKIP_TOKENS) {
4262 choice = 0; /* really the only choice is the first token_array entry */
4266 if ((r = pkinit_choose_tokens(context, cctx, &token_choices, &choice)) != 0) {
4273 if (choice == RESCAN_TOKENS) {
4283 } else if (choice == SKIP_TOKENS) {
4296 cctx->slotid = token_choices.token_array[choice].slotID;
4297 cctx->session = token_choices.token_array[choice].session;
4304 if ((token_choices.token_array[choice].token_info.flags & CKF_LOGIN_REQUIRED) &&
4306 r = pkinit_login(context, cctx, &token_choices.token_array[choice].token_info);
4332 if (i != choice) {
6281 krb5_cas[i]->choice = choice_trusted_cas_principalName;
6284 krb5_cas[i]->choice = choice_trusted_cas_caName;
6296 krb5_cas[i]->choice = choice_trusted_cas_issuerAndSerial;