Lines Matching defs:vct
220 struct verify_cert_test *vct;
226 vct = &verify_cert_tests[i];
231 vct->id) == -1)
234 vct->id) == -1)
236 if (asprintf(&roots_dir, "./%s/roots", vct->id) == -1)
239 fprintf(stderr, "== Test %zu (%s)\n", i, vct->id);
240 fprintf(stderr, "== depth %d\n", vct->depth);
241 fprintf(stderr, "== error %d\n", vct->error);
242 expected_depth = vct->depth;
243 expected_error = vct->error;
245 if (chains == 0 && vct->want_chains == 0) {
258 if ((mode == MODE_VERIFY && chains == vct->want_chains) ||
259 (chains == 0 && vct->want_chains == 0) ||
260 (chains == 1 && vct->want_chains > 0)) {
262 chains, vct->failing ? " (legacy failure)" : "");
263 if (mode == MODE_LEGACY_VFY && vct->failing)
267 chains, vct->failing ? " (legacy failure)" : "");
268 if (!vct->failing)