From d3b243d15bdbd4191a8c615f3654d00e1194d17c Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 22 Jun 2020 20:49:51 -0400 Subject: [PATCH] Use defaults FIPSKEY if not given on command line Reviewed-by: Matthias St. Pierre Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/12311) --- apps/fipsinstall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c index e76e615bc6d..fde82ef8a7f 100644 --- a/apps/fipsinstall.c +++ b/apps/fipsinstall.c @@ -357,6 +357,7 @@ opthelp: /* Use the default FIPS HMAC digest and key if not specified. */ if (!gotdigest && !sk_OPENSSL_STRING_push(opts, "digest:SHA256")) goto end; + /* Use the default FIPS HMAC key if not specified. */ if (!gotkey && !sk_OPENSSL_STRING_push(opts, "hexkey:" FIPS_KEY_STRING)) goto end; -- 2.47.2