From: Dr. Stephen Henson Date: Wed, 6 Apr 2011 23:40:46 +0000 (+0000) Subject: Add fips hmac key to dgst utility. X-Git-Tag: OpenSSL-fips-2_0-rc1~587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ee49722dc985cc33a9c2069a9c66e7e6a165980;p=openssl Add fips hmac key to dgst utility. --- diff --git a/apps/dgst.c b/apps/dgst.c index 191bc25ee8..8a5609f326 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -218,6 +218,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)