aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index dbe64c96e..38f57b151 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -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;