Home GnuPG
Diffusion GnuPG a22a55b994e0

assuan: Reorganize waiting for socket.

Description

assuan: Reorganize waiting for socket.

* common/asshelp.c (wait_for_sock): New function, collecting
codepaths from...
(start_new_gpg_agent) here and...
(start_new_dirmngr) here.

This has no functional change, but makes it easier to make this
function more efficient.

(cherry picked from commit 0471ff9d3bf8d6b9a359f3c426d70d0935066907)

  • GnuPG-bug-id: T3490
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Nov 8 2017, 4:15 PM
wernerCommitted on Aug 28 2018, 4:41 PM
Parents
rG0709f358cd13: gpg: Refresh expired keys originating from the WKD.
Branches
Unknown
Tags
Unknown
Tasks
T3490: "gpgconf --launch gpg-agent" should not take a full second if the agent isn't already started