mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.
* passphrase.c (agent_open): Ditto.
This commit is contained in:
parent
6c9c5accd1
commit
16f3d8396e
3 changed files with 7 additions and 2 deletions
|
@ -82,7 +82,7 @@ start_agent (void)
|
|||
the access to the agent. */
|
||||
|
||||
infostr = force_pipe_server? NULL : getenv ("GPG_AGENT_INFO");
|
||||
if (!infostr)
|
||||
if (!infostr || !*infostr)
|
||||
{
|
||||
const char *pgmname;
|
||||
const char *argv[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue