[pkg-opensc-commit] [opensc] 83/295: sc-hsm-tool: hide --print-dkek-share from the user
Eric Dorland
eric at moszumanska.debian.org
Sat Jun 24 21:11:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit d42aab11ab9727ddc84669e7edd5621fd8662195
Author: Frank Morgner <frankmorgner at gmail.com>
Date: Tue Sep 20 11:24:40 2016 +0200
sc-hsm-tool: hide --print-dkek-share from the user
closes https://github.com/OpenSC/OpenSC/pull/821
---
src/tools/sc-hsm-tool.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/tools/sc-hsm-tool.c b/src/tools/sc-hsm-tool.c
index dc7bf58..a36902f 100644
--- a/src/tools/sc-hsm-tool.c
+++ b/src/tools/sc-hsm-tool.c
@@ -77,7 +77,9 @@ static const struct option options[] = {
{ "initialize", 0, NULL, 'X' },
{ "create-dkek-share", 1, NULL, 'C' },
{ "import-dkek-share", 1, NULL, 'I' },
+#ifdef PRINT_DKEK_SHARE
{ "print-dkek-share", 1, NULL, 'P' },
+#endif
{ "wrap-key", 1, NULL, 'W' },
{ "unwrap-key", 1, NULL, 'U' },
{ "dkek-shares", 1, NULL, 's' },
@@ -100,7 +102,9 @@ static const char *option_help[] = {
"Initialize token",
"Create DKEK key share and save to <filename>",
"Import DKEK key share <filename>",
+#ifdef PRINT_DKEK_SHARE
"Print HEX of DKEK key share <filename>",
+#endif
"Wrap key and save to <filename>",
"Unwrap key read from <filename>",
"Number of DKEK shares [No DKEK]",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git
More information about the pkg-opensc-commit
mailing list