mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
This commit is contained in:
parent
bda3467067
commit
103a442be9
@ -1,5 +1,7 @@
|
|||||||
2004-02-17 Werner Koch <wk@gnupg.org>
|
2004-02-17 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
|
||||||
|
|
||||||
* errors.h: Added STATUS_IMPORT_OK.
|
* errors.h: Added STATUS_IMPORT_OK.
|
||||||
|
|
||||||
2004-02-10 Werner Koch <wk@gnupg.org>
|
2004-02-10 Werner Koch <wk@gnupg.org>
|
||||||
|
@ -266,7 +266,7 @@ agent_open (int *rfd)
|
|||||||
|
|
||||||
*rfd = -1;
|
*rfd = -1;
|
||||||
infostr = getenv ( "GPG_AGENT_INFO" );
|
infostr = getenv ( "GPG_AGENT_INFO" );
|
||||||
if ( !infostr )
|
if ( !infostr || !*infostr )
|
||||||
{
|
{
|
||||||
#ifdef SPWQ_USE_LOGGING
|
#ifdef SPWQ_USE_LOGGING
|
||||||
log_error (_("gpg-agent is not available in this session\n"));
|
log_error (_("gpg-agent is not available in this session\n"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user