diff options
-rw-r--r-- | apps/dgst.c | 1 | ||||
-rw-r--r-- | doc/apps/dgst.pod | 5 |
2 files changed, 6 insertions, 0 deletions
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<openssl> B<dgst> [B<-verify filename>] [B<-prverify filename>] [B<-signature filename>] +[B<-hmac key>] [B<file...>] [B<md5|md4|md2|sha1|sha|mdc2|ripemd160>] @@ -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 |