summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-09-19 13:17:11 +0200
committerWerner Koch <wk@gnupg.org>2003-09-19 13:17:11 +0200
commit43c5c29bc1ec33be42e0078b082186706519f8f2 (patch)
tree2405d1a3fff0150055e665c74f2daff5046680dc /g10
parent* g10.c: New command --card-edit. (diff)
downloadgnupg2-43c5c29bc1ec33be42e0078b082186706519f8f2.tar.xz
gnupg2-43c5c29bc1ec33be42e0078b082186706519f8f2.zip
(parse_ccid_descriptor): New.
(read_device_info): New. (ccid_open_reader): Check that the device has all required features.
Diffstat (limited to 'g10')
-rw-r--r--g10/card-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index b0754dcd2..5ee9d03ab 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -477,13 +477,13 @@ card_edit (STRLIST commands)
{ N_("login") , cmdLOGIN , N_("change the login name") },
{ N_("lang") , cmdLANG , N_("change the language preferences") },
{ N_("sex") , cmdSEX , N_("change card holder's sex") },
- { NULL, cmdNOP }
+ { NULL, cmdINVCMD }
};
enum cmdids cmd = cmdNOP;
int have_commands = !!commands;
int redisplay = 1;
- char *answer = NULL;;
+ char *answer = NULL;
if (opt.command_fd != -1)
;