1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-06 17:23:03 +01:00

scd: Change the exit condition of pcsc_thread.

* scd/apdu.c (pcsc_thread): Check PCSC.CONTEXT.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2021-05-14 12:12:00 +09:00
parent 6fdb9b3546
commit f2f9628006

View File

@ -1102,7 +1102,7 @@ pcsc_thread (void *arg)
} }
npth_mutex_lock (&reader_table_lock); npth_mutex_lock (&reader_table_lock);
while (pcsc.count) while (pcsc.context)
{ {
int i, j = 0; int i, j = 0;
int any_change = 0; int any_change = 0;