Add fips hmac key to dgst utility.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 6 Apr 2011 23:40:46 +0000 (23:40 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 6 Apr 2011 23:40:46 +0000 (23:40 +0000)
apps/dgst.c

index 191bc25ee82bbdc96c0cd17a1d1112c4e0d8dfa0..8a5609f326903f8fcef86914f2f6e458f625eb52 100644 (file)
@@ -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)