1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02: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

@ -1347,7 +1347,7 @@ get_pka_address (PKT_signature *sig)
/* 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;