projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6653c6f
)
Add fips hmac key to dgst utility.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 6 Apr 2011 23:40:46 +0000
(23:40 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 6 Apr 2011 23:40:46 +0000
(23:40 +0000)
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 191bc25ee82bbdc96c0cd17a1d1112c4e0d8dfa0..8a5609f326903f8fcef86914f2f6e458f625eb52 100644
(file)
--- 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)