scd: Do not conflict if a card with another serialno is demanded.
authorWerner Koch <wk@gnupg.org>
Tue, 25 Jun 2019 07:48:18 +0000 (09:48 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 25 Jun 2019 07:48:18 +0000 (09:48 +0200)
commit92ba831758cff0262504ac51e5df7a439844327c
treeffe322a44bef967d303b80e48d502c31d9ed936a
parentc8e62965bc90eabff5c4b7cb349bd8e41584c01b
scd: Do not conflict if a card with another serialno is demanded.

* scd/app.c (check_application_conflict): Add args to pass a serialno.
* scd/command.c (open_card_with_request): Pass the serialno to
check_application_conflict.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
scd/app-common.h
scd/app.c
scd/command.c