Lines Matching defs:idx
114 int idx;
116 idx = X509_TRUST_get_by_id(id);
117 if(idx == -1) return default_trust(id, x, flags);
118 pt = X509_TRUST_get0(idx);
128 X509_TRUST * X509_TRUST_get0(int idx)
130 if(idx < 0) return NULL;
131 if(idx < (int)X509_TRUST_COUNT) return trstandard + idx;
132 return sk_X509_TRUST_value(trtable, idx - X509_TRUST_COUNT);
138 int idx;
143 idx = sk_X509_TRUST_find(trtable, &tmp);
144 if(idx == -1) return -1;
145 return idx + X509_TRUST_COUNT;
161 int idx;
168 idx = X509_TRUST_get_by_id(id);
170 if(idx == -1) {
176 } else trtmp = X509_TRUST_get0(idx);
196 if(idx == -1) {