aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-04-25 21:56:47 +0000
committerWerner Koch <[email protected]>2011-04-25 21:59:25 +0000
commit5da12674eaae11969b22e6f80e4957217ad406d6 (patch)
tree1ae8b482a2c2cdef4cb24055d6d15c99224b5b1d /g10/getkey.c
parentAdd OPTION:cache-ttl-opt-preset to gpg-agent. (diff)
downloadgnupg-5da12674eaae11969b22e6f80e4957217ad406d6.tar.gz
gnupg-5da12674eaae11969b22e6f80e4957217ad406d6.zip
Fix regression in gpg's mail address parsing.
Since 2009-12-08 gpg was not able to find email addresses indicated by a leading '<'. This happened when I merged the user id classification code of gpgsm and gpg.
Diffstat (limited to '')
-rw-r--r--g10/getkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 6464f9e0f..171f17781 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -617,7 +617,7 @@ key_byname (GETKEY_CTX *retctx, strlist_t namelist,
{
gpg_error_t err;
- err = classify_user_id (r->d, &ctx->items[n]);
+ err = classify_user_id (r->d, &ctx->items[n], 1);
if (ctx->items[n].exact)
ctx->exact = 1;