mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd: Skip unknown options in command SERIALNO
* scd/command.c (cmd_serialno): Skip options. -- SERIALNO --all works only in 2.3 and thus naive use with 2.2 vesions would conserer "--all" as the reqyested applications. Fix is easy and should be done anyway. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
2b2f21445c
commit
7076f6cafb
@ -290,6 +290,8 @@ cmd_serialno (assuan_context_t ctx, char *line)
|
|||||||
else
|
else
|
||||||
demand = NULL;
|
demand = NULL;
|
||||||
|
|
||||||
|
line = skip_options (line);
|
||||||
|
|
||||||
/* Clear the remove flag so that the open_card is able to reread it. */
|
/* Clear the remove flag so that the open_card is able to reread it. */
|
||||||
if (ctrl->server_local->card_removed)
|
if (ctrl->server_local->card_removed)
|
||||||
ctrl->server_local->card_removed = 0;
|
ctrl->server_local->card_removed = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user