diff options
author | Werner Koch <[email protected]> | 2008-10-17 19:18:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-10-17 19:18:46 +0000 |
commit | 0698c5169fca5b7969e6b0fa4de22b693e7fd2e4 (patch) | |
tree | ebfa56dde985a7925e9dc6ea60bda96569106718 /scd/command.c | |
parent | Reset the context lock flag after a failed dirmngr start which may happend (diff) | |
download | gnupg-0698c5169fca5b7969e6b0fa4de22b693e7fd2e4.tar.gz gnupg-0698c5169fca5b7969e6b0fa4de22b693e7fd2e4.zip |
Use more warning options with modern GCCs.
Other minor changes.
Diffstat (limited to '')
-rw-r--r-- | scd/command.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scd/command.c b/scd/command.c index 7d2515474..4c55e6167 100644 --- a/scd/command.c +++ b/scd/command.c @@ -1638,6 +1638,19 @@ cmd_restart (assuan_context_t ctx, char *line) } +/* DISCONNECT + + TBD + +*/ +static int +cmd_disconnect (assuan_context_t ctx, char *line) +{ + return gpg_error (GPG_ERR_NOT_IMPLEMENTED); +} + + + /* APDU [--atr] [--more] [hexstring] Send an APDU to the current reader. This command bypasses the high @@ -1756,6 +1769,7 @@ register_commands (assuan_context_t ctx) { "UNLOCK", cmd_unlock }, { "GETINFO", cmd_getinfo }, { "RESTART", cmd_restart }, + { "DISCONNECT", cmd_disconnect }, { "APDU", cmd_apdu }, { NULL } }; |