summaryrefslogtreecommitdiffstats
path: root/fips
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-10-19 23:23:35 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-10-19 23:23:35 +0000
commit4ff2999e885377f4940c6289617e19a778bf74c6 (patch)
treea799b525dc21b82aa691f2e81124e6a42cf3ff3c /fips
parent5e4eb9954b415fd685bfda69603bec52c5843778 (diff)
Add "nopass" for empty password too.
Diffstat (limited to 'fips')
-rw-r--r--fips/fips_test_suite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fips/fips_test_suite.c b/fips/fips_test_suite.c
index bca185666c..b7aea4e9cd 100644
--- a/fips/fips_test_suite.c
+++ b/fips/fips_test_suite.c
@@ -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);