Lines Matching defs:vct
352 struct verify_cert_test *vct;
358 vct = &verify_cert_tests[i];
361 vct->id) == -1)
364 vct->id) == -1)
366 if (asprintf(&roots_dir, "./%s/roots", vct->id) == -1)
369 fprintf(output, "== Test %zu (%s)\n", i, vct->id);
373 if ((mode == MODE_VERIFY && chains == vct->want_chains) ||
374 (chains == 0 && vct->want_chains == 0) ||
375 (chains == 1 && vct->want_chains > 0)) {
377 chains, vct->failing ? " (legacy failure)" : "");
378 if (mode == MODE_LEGACY_VFY && vct->failing)
382 chains, vct->failing ? " (legacy failure)" : "");
383 if (!vct->failing)
390 if ((mode == MODE_VERIFY && chains == vct->want_chains) ||
391 (chains == 0 && vct->want_chains == 0) ||
392 (chains == 1 && vct->want_chains > 0)) {
394 chains, vct->failing ? " (legacy failure)" : "");
395 if (mode == MODE_LEGACY_VFY && vct->failing)
399 chains, vct->failing ? " (legacy failure)" : "");
400 if (!vct->failing)