[svn] GnuPG - r4077 - trunk/g10

svn author dshaw cvs at cvs.gnupg.org
Wed Mar 22 15:37:54 CET 2006


Author: dshaw
Date: 2006-03-22 15:37:53 +0100 (Wed, 22 Mar 2006)
New Revision: 4077

Modified:
   trunk/g10/ChangeLog
   trunk/g10/mainproc.c
Log:
* mainproc.c (get_pka_address): Fix bug introduced as part of
sig_to_notation conversion.  Noted by Peter Palfradrer.


Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog	2006-03-21 13:01:45 UTC (rev 4076)
+++ trunk/g10/ChangeLog	2006-03-22 14:37:53 UTC (rev 4077)
@@ -1,3 +1,8 @@
+2006-03-22  David Shaw  <dshaw at jabberwocky.com>
+
+	* mainproc.c (get_pka_address): Fix bug introduced as part of
+	sig_to_notation conversion.  Noted by Peter Palfradrer.
+
 2006-03-21  Werner Koch  <wk at g10code.com>
 
 	* cardglue.c (agent_scd_pksign): Allow the use of ripemd-160 along

Modified: trunk/g10/mainproc.c
===================================================================
--- trunk/g10/mainproc.c	2006-03-21 13:01:45 UTC (rev 4076)
+++ trunk/g10/mainproc.c	2006-03-22 14:37:53 UTC (rev 4077)
@@ -1347,7 +1347,7 @@
       /* For now we only use the first valid PKA notation. In future
 	 we might want to keep additional PKA notations in a linked
 	 list. */
-      if (is_valid_mailbox (pka->email))
+      if (is_valid_mailbox (nd->value))
 	{
 	  pka = xmalloc (sizeof *pka + strlen(nd->value));
 	  pka->valid = 0;




More information about the Gnupg-commits mailing list