1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00

* mainproc.c (get_pka_address): Fix bug introduced as part of

sig_to_notation conversion.  Noted by Peter Palfradrer.
This commit is contained in:
David Shaw 2006-03-22 14:37:53 +00:00
parent 7f99c71839
commit 5531da1cfc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-22 David Shaw <dshaw@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@g10code.com> 2006-03-21 Werner Koch <wk@g10code.com>
* cardglue.c (agent_scd_pksign): Allow the use of ripemd-160 along * cardglue.c (agent_scd_pksign): Allow the use of ripemd-160 along

View File

@ -1347,7 +1347,7 @@ get_pka_address (PKT_signature *sig)
/* For now we only use the first valid PKA notation. In future /* For now we only use the first valid PKA notation. In future
we might want to keep additional PKA notations in a linked we might want to keep additional PKA notations in a linked
list. */ list. */
if (is_valid_mailbox (pka->email)) if (is_valid_mailbox (nd->value))
{ {
pka = xmalloc (sizeof *pka + strlen(nd->value)); pka = xmalloc (sizeof *pka + strlen(nd->value));
pka->valid = 0; pka->valid = 0;