Home GnuPG
Diffusion GnuPG 854adc8ae197

agent,dirmngr: Handle corner case in shutdown mode.
854adc8ae197Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent,dirmngr: Handle corner case in shutdown mode.

* agent/gpg-agent.c (handle_connections): Keep on selecting on the
inotify fd even when a shutdown is pending.
* dirmngr/dirmngr.c (handle_connections): Ditto.  Also simplifyy the
use of the HAVE_INOTIFY_INIT cpp conditional.

Without that patch we won't notice a removed socket when a shutdown is
pending. This is somewhat related to bug report 2849.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 29 2016, 8:15 PM
Parents
rG8489b1221109: gpgsm: Allow decryption with a card returning a PKCS#1 stripped key.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG854adc8ae197: agent,dirmngr: Handle corner case in shutdown mode. (authored by Werner Koch <wk@gnupg.org>).Nov 29 2016, 8:17 PM