summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-02-08 16:06:48 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-02-08 16:11:08 +0100
commitdd9589740d54b81c5aef6c7f5fa28f68f23fb27f (patch)
tree858f47468763d7a76a574b47c54bd165ec2a3b0e /apps/dgst.c
parentbio/b_sock.c: cleanup obsolete stuff. (diff)
downloadopenssl-dd9589740d54b81c5aef6c7f5fa28f68f23fb27f.tar.xz
openssl-dd9589740d54b81c5aef6c7f5fa28f68f23fb27f.zip
Fix engine key support in utilities.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/dgst.c')
-rw-r--r--apps/dgst.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/dgst.c b/apps/dgst.c
index 7fa535197e..cab848516b 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -95,11 +95,11 @@ OPTIONS dgst_options[] = {
"Use file(s) containing random data to seed RNG or an EGD sock"},
{"out", OPT_OUT, '>', "Output to filename rather than stdout"},
{"passin", OPT_PASSIN, 's', "Input file pass phrase source"},
- {"sign", OPT_SIGN, '<', "Sign digest using private key in file"},
- {"verify", OPT_VERIFY, '<',
- "Verify a signature using public key in file"},
- {"prverify", OPT_PRVERIFY, '<',
- "Verify a signature using private key in file"},
+ {"sign", OPT_SIGN, 's', "Sign digest using private key"},
+ {"verify", OPT_VERIFY, 's',
+ "Verify a signature using public key"},
+ {"prverify", OPT_PRVERIFY, 's',
+ "Verify a signature using private key"},
{"signature", OPT_SIGNATURE, '<', "File with signature to verify"},
{"keyform", OPT_KEYFORM, 'f', "Key file format (PEM or ENGINE)"},
{"hex", OPT_HEX, '-', "Print as hex dump"},