diff options
| author | Werner Koch <[email protected]> | 2010-11-11 15:07:37 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2010-11-11 15:07:37 +0000 |
| commit | 2c982dcf86c61a900383c5254f1b10648d933258 (patch) | |
| tree | bd5f5f584b5a07ebf6f738e4ec249b665cf0ae57 /agent/gpg-agent.c | |
| parent | Add patches for EncFs (diff) | |
| download | gnupg-2c982dcf86c61a900383c5254f1b10648d933258.tar.gz gnupg-2c982dcf86c61a900383c5254f1b10648d933258.zip | |
Fix bug where scdaemon kills a non-daemon gpg-agent.
Diffstat (limited to 'agent/gpg-agent.c')
| -rw-r--r-- | agent/gpg-agent.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 8d0000f70..f4732fde3 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -1894,6 +1894,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); |
