Add fips-fingerprint option to dgst.c to use the appropriate FIPS HMAC key.

This commit is contained in:
Dr. Stephen Henson 2007-12-23 13:38:55 +00:00
parent 99a376df16
commit fe01f90a1c

View file

@ -190,6 +190,8 @@ int MAIN(int argc, char **argv)
out_bin = 1;
else if (strcmp(*argv,"-d") == 0)
debug=1;
else if (!strcmp(*argv,"-fips-fingerprint"))
hmac_key = "etaonrishdlcupfm";
else if (!strcmp(*argv,"-hmac"))
{
if (--argc < 1)