From fede32ebd7bd8defee96673dec8cef3216c1a711 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 31 Jul 2006 11:40:14 +0000 Subject: [PATCH] Fix bug 655 --- g10/ChangeLog | 4 ++++ g10/passphrase.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + * 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; }