Lines Matching defs:pa_order
700 sort_pa_order(krb5_context context, krb5_kdc_req *request, int *pa_order)
708 pa_order[i++] = j;
711 pa_order[n_repliers] = -1;
717 if (preauth_systems[pa_order[i]].flags & PA_REPLACES_KEY)
722 if (preauth_systems[pa_order[j]].flags & PA_REPLACES_KEY) {
723 k = pa_order[j];
724 pa_order[j] = pa_order[i];
725 pa_order[i] = k;
735 for (i = 0; preauth_systems[pa_order[i]].flags & PA_REPLACES_KEY; i++) {
741 preauth_systems[pa_order[i]].type))
745 preauth_systems[pa_order[j]].type)) {
746 k = pa_order[j];
747 pa_order[j] = pa_order[i];
748 pa_order[i] = k;
762 for (i = 0; pa_order[i] != -1; i++) {
764 preauth_systems[pa_order[i]].name,
765 preauth_systems[pa_order[i]].type);
1112 int * pa_order;
1129 if ((pa_order = malloc((size+1) * sizeof(int))) == NULL) {
1133 sort_pa_order(context, request, pa_order);
1139 free(pa_order);
1147 for (pa_type = pa_order; *pa_type != -1; pa_type++) {
1199 free(pa_order);