Added seeder API. Also overhauled compile-time detection of features.

This commit is contained in:
Thomas Pornin 2017-08-28 16:37:30 +02:00
parent 5b980fb625
commit af9c79a071
22 changed files with 1183 additions and 399 deletions

View file

@ -51,6 +51,7 @@ usage(void)
fprintf(stderr, " ta decode trust anchors\n");
fprintf(stderr, " chain make C code for certificate chains\n");
fprintf(stderr, " twrch run the Twrch protocol\n");
fprintf(stderr, " impl report on implementations\n");
}
int
@ -108,6 +109,10 @@ main(int argc, char *argv[])
} else {
return ret;
}
} else if (eqstr(cmd, "impl")) {
if (do_impl(argc - 2, argv + 2) < 0) {
return EXIT_FAILURE;
}
} else {
fprintf(stderr, "unknown command: '%s'\n", cmd);
usage();