mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
scd: Use app_get_serialno for app_getattr.
* scd/app.c (app_getattr): Use app_get_serialno. -- GnuPG-bug-id: 5100 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
65c91e601a
commit
c8cc35dd2c
1 changed files with 1 additions and 1 deletions
|
@ -1544,7 +1544,7 @@ app_getattr (card_t card, ctrl_t ctrl, const char *name)
|
|||
{
|
||||
char *serial;
|
||||
|
||||
serial = card_get_serialno (card);
|
||||
serial = app_get_serialno (card->app);
|
||||
if (!serial)
|
||||
err = gpg_error (GPG_ERR_INV_VALUE);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue