Lines Matching defs:vct
472 struct verify_cert_test *vct;
478 vct = &verify_cert_tests[i];
481 vct->id) == -1)
484 vct->id) == -1)
486 if (asprintf(&roots_dir, "./%s/roots", vct->id) == -1)
492 fprintf(stderr, "== Test %zu (%s)\n", i, vct->id);
499 if ((mode == MODE_VERIFY && chains == vct->want_chains) ||
500 (chains == 0 && vct->want_chains == 0) ||
501 (chains == 1 && vct->want_chains > 0)) {
503 chains, vct->failing ? " (legacy failure)" : "");
504 if (mode == MODE_LEGACY_VFY && vct->failing)
508 chains, vct->failing ? " (legacy failure)" : "");
509 if (!vct->failing)
514 if (error != vct->want_legacy_error) {
516 "want %d\n", error, vct->want_legacy_error);
519 if (error_depth != vct->want_legacy_error_depth) {
522 vct->want_legacy_error_depth);
526 if (error != vct->want_error) {
528 error, vct->want_error);
531 if (error_depth != vct->want_error_depth) {
533 " %d\n", error_depth, vct->want_error_depth);