Add "nopass" for empty password too.

This commit is contained in:
Dr. Stephen Henson 2011-10-19 23:23:35 +00:00
parent 5e4eb9954b
commit 4ff2999e88

View 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);