aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-03-22 14:37:53 +0000
committerDavid Shaw <[email protected]>2006-03-22 14:37:53 +0000
commit5531da1cfcee2dbb1a8280cfd9c703b925131dee (patch)
treef6ab79ad2c114276c53d0b531486f59010f5502e /g10/mainproc.c
parentAllow for rmd160 signatures when using gpg-agent. (diff)
downloadgnupg-5531da1cfcee2dbb1a8280cfd9c703b925131dee.tar.gz
gnupg-5531da1cfcee2dbb1a8280cfd9c703b925131dee.zip
* mainproc.c (get_pka_address): Fix bug introduced as part of
sig_to_notation conversion. Noted by Peter Palfradrer.
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;