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 bca185666c68b785d5d93b36bd4ce50ad174160b..b7aea4e9cda1e630d1835660288bffa92288b1dc 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);