1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

agent: Handle SCD DEVINFO --watch command in a special way.

* agent/call-scd.c (devinfo_watch_thread): New.
(agent_card_devinfo): New.
(agent_card_scd): Call agent_card_devinfo when it's
DEVINFO_WATCH_COMMAND.

--

GnuPG-bug-id: 7151
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit b3f1f2cd19)
This commit is contained in:
Werner Koch 2024-07-01 14:38:17 +02:00
parent fd9872295b
commit 0ed8e9ae3e
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 97 additions and 1 deletions

View file

@ -403,7 +403,7 @@ card_list_wait (ctrl_t ctrl)
{
FD_ZERO (&fdset);
FD_SET (FD2INT (fd), &fdset);
nfd = FD2NUM (fd);
nfd = FD2INT (fd);
#ifdef HAVE_W32_SYSTEM
ret = npth_eselect (nfd+1, &fdset, NULL, NULL, NULL,