From: Dr. Stephen Henson Date: Wed, 19 Oct 2011 23:23:35 +0000 (+0000) Subject: Add "nopass" for empty password too. X-Git-Tag: OpenSSL-fips-2_0-rc1~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ff2999e885377f4940c6289617e19a778bf74c6;p=oweals%2Fopenssl.git Add "nopass" for empty password too. --- 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);