Add "post" option to fips_test_suite to run the POST only and exit.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 15 Apr 2011 20:09:34 +0000 (20:09 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 15 Apr 2011 20:09:34 +0000 (20:09 +0000)
fips/fips_test_suite.c

index e07b6d61626f4b790aadea355bc43dc77f25ead7..fac20d4ba11d04416bef305b4ee427f6430468c0 100644 (file)
@@ -892,6 +892,8 @@ int main(int argc,char **argv)
            FIPS_corrupt_drbg();
        } else if (!strcmp(argv[1], "rng")) {
            fail_id = FIPS_TEST_X931;
+       } else if (!strcmp(argv[1], "post")) {
+           fail_id = -1;
        } else if (!strcmp(argv[1], "rngstick")) {
            do_rng_stick = 1;
            no_exit = 1;