mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Fix use of SCardListReaders for PC/SC.
* scd/apdu.c (apdu_dev_list_start): Initialize NREADER. -- Reported-by: Ludovic Rousseau GnuPG-bug-id: 5979 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
53eddf9b9e
commit
1b1684cf61
@ -2015,7 +2015,7 @@ apdu_dev_list_start (const char *portstr, struct dev_list **l_p)
|
||||
#endif
|
||||
{ /* PC/SC readers. */
|
||||
long r;
|
||||
pcsc_dword_t nreader;
|
||||
pcsc_dword_t nreader = 0;
|
||||
char *p = NULL;
|
||||
|
||||
if (!pcsc.context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user