diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-10-19 23:23:35 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-10-19 23:23:35 +0000 |
commit | 4ff2999e885377f4940c6289617e19a778bf74c6 (patch) | |
tree | a799b525dc21b82aa691f2e81124e6a42cf3ff3c /fips | |
parent | 5e4eb9954b415fd685bfda69603bec52c5843778 (diff) | |
download | openssl-new-4ff2999e885377f4940c6289617e19a778bf74c6.tar.gz |
Add "nopass" for empty password too.
Diffstat (limited to 'fips')
-rw-r--r-- | fips/fips_test_suite.c | 2 |
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); |