Commit 4ff2999e authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add "nopass" for empty password too.

parent 5e4eb995
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);