aboutsummaryrefslogtreecommitdiffstats
path: root/agent/query.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-04-27 13:49:40 +0000
committerWerner Koch <[email protected]>2002-04-27 13:49:40 +0000
commit8460fb4a7325d1f009dae07c39dd48309cb7d361 (patch)
tree1ba30ec7a09fed9c152075b79e093c8491e509b2 /agent/query.c
parent* call-agent.c (start_agent): Make copies of old locales and check (diff)
downloadgnupg-8460fb4a7325d1f009dae07c39dd48309cb7d361.tar.gz
gnupg-8460fb4a7325d1f009dae07c39dd48309cb7d361.zip
Debug message cleanups.
Fixed passphrase caching.
Diffstat (limited to '')
-rw-r--r--agent/query.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/agent/query.c b/agent/query.c
index c7e05a099..7a20b1498 100644
--- a/agent/query.c
+++ b/agent/query.c
@@ -63,8 +63,8 @@ start_pinentry (void)
expected to tun as a single-thread (or may be in
future using libpth) */
-
- log_debug ("no running PIN Entry - starting it\n");
+ if (opt.verbose)
+ log_info ("no running PIN Entry - starting it\n");
if (fflush (NULL))
{
@@ -99,8 +99,9 @@ start_pinentry (void)
return seterr (No_PIN_Entry);
}
entry_ctx = ctx;
-
- log_debug ("connection to PIN entry established\n");
+
+ if (DBG_ASSUAN)
+ log_debug ("connection to PIN entry established\n");
rc = assuan_transact (entry_ctx,
opt.no_grab? "OPTION no-grab":"OPTION grab",