aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/passphrase.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index c47bb4a4f..3153339b6 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,5 +1,9 @@
2006-07-31 Werner Koch <[email protected]>
+ * passphrase.c (agent_open): Use log_info instead of log_error to
+ allow a fallback without having gpg return an error code. Fixes
+ bug #655.
+
* encode.c (encode_crypt_files): Invalidate the whole fd cache.
This is a workaround for problems in iobuf's stupid fd cache.
* decrypt.c (decrypt_messages): Ditto.
diff --git a/g10/passphrase.c b/g10/passphrase.c
index 944c52325..01e9166b5 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -359,7 +359,7 @@ agent_open (int try, const char *orig_codeset)
if (orig_codeset)
bind_textdomain_codeset (PACKAGE, orig_codeset);
#endif /*ENABLE_NLS*/
- log_error ( _("can't connect to `%s': %s\n"),
+ log_info ( _("can't connect to `%s': %s\n"),
infostr, assuan_strerror (rc));
opt.use_agent = 0;
}