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

Fix a bug where scdaemon kills a non-daemon gpg-agent.

Fix a passphrase cache annoyance.
This commit is contained in:
Werner Koch 2010-11-11 15:08:48 +00:00
parent 2bd66b59a2
commit 46ef7f6243
7 changed files with 62 additions and 23 deletions

View file

@ -1892,6 +1892,10 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
#endif
time_ev = NULL;
/* Set a flag to tell call-scd.c that it may enable event
notifications. */
opt.sigusr2_enabled = 1;
FD_ZERO (&fdset);
FD_SET (FD2INT (listen_fd), &fdset);
nfd = FD2INT (listen_fd);