[svn] GnuPG - r4211 - trunk/g10

svn author wk cvs at cvs.gnupg.org
Mon Jul 31 13:40:15 CEST 2006


Author: wk
Date: 2006-07-31 13:40:14 +0200 (Mon, 31 Jul 2006)
New Revision: 4211

Modified:
   trunk/g10/ChangeLog
   trunk/g10/passphrase.c
Log:
Fix bug 655


Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog	2006-07-31 10:16:33 UTC (rev 4210)
+++ trunk/g10/ChangeLog	2006-07-31 11:40:14 UTC (rev 4211)
@@ -1,5 +1,9 @@
 2006-07-31  Werner Koch  <wk at g10code.com>
 
+	* 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.

Modified: trunk/g10/passphrase.c
===================================================================
--- trunk/g10/passphrase.c	2006-07-31 10:16:33 UTC (rev 4210)
+++ trunk/g10/passphrase.c	2006-07-31 11:40:14 UTC (rev 4211)
@@ -359,7 +359,7 @@
           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;
         }




More information about the Gnupg-commits mailing list