From a92ebf229015380882d8a364ad95df00c81534e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Mon, 19 May 2008 07:43:34 +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 7bfac2f644..b22b008c76 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -252,6 +252,7 @@ int MAIN(int argc, char **argv) BIO_printf(bio_err,"-signature file signature to verify\n"); BIO_printf(bio_err,"-sigopt nm:v signature parameter\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.34.1