mirror of https://github.com/openssl/openssl
Use defaults FIPSKEY if not given on command line
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12311)
This commit is contained in:
parent
7cc355c2e4
commit
d3b243d15b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue