[svn] GnuPG - r4783 - trunk/sm

svn author marcus cvs at cvs.gnupg.org
Sat Jun 14 00:10:22 CEST 2008


Author: marcus
Date: 2008-06-14 00:10:22 +0200 (Sat, 14 Jun 2008)
New Revision: 4783

Modified:
   trunk/sm/ChangeLog
   trunk/sm/call-dirmngr.c
Log:
2008-06-13  Marcus Brinkmann  <marcus at ulysses.g10code.com>

	* call-dirmngr.c (prepare_dirmngr): Fix error code to ignore.


Modified: trunk/sm/ChangeLog
===================================================================
--- trunk/sm/ChangeLog	2008-06-13 16:50:59 UTC (rev 4782)
+++ trunk/sm/ChangeLog	2008-06-13 22:10:22 UTC (rev 4783)
@@ -1,3 +1,7 @@
+2008-06-13  Marcus Brinkmann  <marcus at ulysses.g10code.com>
+
+	* call-dirmngr.c (prepare_dirmngr): Fix error code to ignore.
+
 2008-06-12  Marcus Brinkmann  <marcus at g10code.de>
 
 	* gpgsm.h (struct keyserver_spec): New struct.

Modified: trunk/sm/call-dirmngr.c
===================================================================
--- trunk/sm/call-dirmngr.c	2008-06-13 16:50:59 UTC (rev 4782)
+++ trunk/sm/call-dirmngr.c	2008-06-13 22:10:22 UTC (rev 4783)
@@ -168,7 +168,7 @@
       line[DIM (line) - 1] = 0;
 
       err = assuan_transact (ctx, line, NULL, NULL, NULL, NULL, NULL, NULL);
-      if (gpg_err_code (err) == GPG_ERR_UNKNOWN_OPTION)
+      if (gpg_err_code (err) == GPG_ERR_ASS_UNKNOWN_CMD)
 	err = 0;  /* Allow the use of old dirmngr versions.  */
 
       server = server->next;




More information about the Gnupg-commits mailing list