From 4ff2999e885377f4940c6289617e19a778bf74c6 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 19 Oct 2011 23:23:35 +0000 Subject: [PATCH] Add "nopass" for empty password too. --- fips/fips_test_suite.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.25.1