Add "nopass" for empty password too.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 19 Oct 2011 23:23:35 +0000 (23:23 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 19 Oct 2011 23:23:35 +0000 (23:23 +0000)
fips/fips_test_suite.c

index bca1856..b7aea4e 100644 (file)
@@ -1084,6 +1084,8 @@ int main(int argc,char **argv)
                pass = FIPS_AUTH_OFFICER_PASS;
        } else if (!strcmp(argv[1], "badpass")) {
                pass = "bad invalid password";
+       } else if (!strcmp(argv[1], "nopass")) {
+               pass = "";
         } else {
             printf("Bad argument \"%s\"\n", argv[1]);
             exit(1);