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:
99a376d
)
Add fips-fingerprint option to dgst.c to use the appropriate FIPS HMAC key.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 23 Dec 2007 13:38:55 +0000
(13:38 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 23 Dec 2007 13:38:55 +0000
(13:38 +0000)
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 75ddec3e5b1bcf6a4c5b4853c8e4964c8c5e0fe8..f4105c1f1fbf3fd1d3f698779c7963e7e2004295 100644
(file)
--- 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)