From fe01f90a1c28c545f4519f7db27465154196e195 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 23 Dec 2007 13:38:55 +0000 Subject: [PATCH] Add fips-fingerprint option to dgst.c to use the appropriate FIPS HMAC key. --- apps/dgst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dgst.c b/apps/dgst.c index 75ddec3e5b..f4105c1f1f 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -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) -- 2.25.1