Commit 75707a32 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add "post" option to fips_test_suite to run the POST only and exit.

parent 45321c41
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -892,6 +892,8 @@ int main(int argc,char **argv)
	    FIPS_corrupt_drbg();
	    FIPS_corrupt_drbg();
	} else if (!strcmp(argv[1], "rng")) {
	} else if (!strcmp(argv[1], "rng")) {
	    fail_id = FIPS_TEST_X931;
	    fail_id = FIPS_TEST_X931;
	} else if (!strcmp(argv[1], "post")) {
	    fail_id = -1;
	} else if (!strcmp(argv[1], "rngstick")) {
	} else if (!strcmp(argv[1], "rngstick")) {
	    do_rng_stick = 1;
	    do_rng_stick = 1;
	    no_exit = 1;
	    no_exit = 1;