From d13ea8e1844ee9e25b9a3c02831c8d749cb0abf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Mon, 19 May 2008 07:43:41 +0000 Subject: [PATCH] Provide information about "openssl dgst" -hmac option. --- apps/dgst.c | 1 + doc/apps/dgst.pod | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/apps/dgst.c b/apps/dgst.c index f4105c1f1f..c5ecf93d1b 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -229,6 +229,7 @@ int MAIN(int argc, char **argv) BIO_printf(bio_err,"-keyform arg key file format (PEM or ENGINE)\n"); BIO_printf(bio_err,"-signature file signature to verify\n"); BIO_printf(bio_err,"-binary output in binary form\n"); + BIO_printf(bio_err,"-hmac key create hashed MAC with key\n"); #ifndef OPENSSL_NO_ENGINE BIO_printf(bio_err,"-engine e use engine e, possibly a hardware device.\n"); #endif diff --git a/doc/apps/dgst.pod b/doc/apps/dgst.pod index b0d198724c..908cd2a6d6 100644 --- a/doc/apps/dgst.pod +++ b/doc/apps/dgst.pod @@ -18,6 +18,7 @@ B B [B<-verify filename>] [B<-prverify filename>] [B<-signature filename>] +[B<-hmac key>] [B] [B] @@ -78,6 +79,10 @@ verify the signature using the the private key in "filename". the actual signature to verify. +=item B<-hmac key> + +create a hashed MAC using "key". + =item B<-rand file(s)> a file or files containing random data used to seed the random number -- 2.25.1