aboutsummaryrefslogtreecommitdiffstats
path: root/sm/import.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 /sm/import.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 'sm/import.c')
-rw-r--r--sm/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/import.c b/sm/import.c
index 7b5852443..363552553 100644
--- a/sm/import.c
+++ b/sm/import.c
@@ -433,7 +433,7 @@ reimport_one (ctrl_t ctrl, struct stats_s *stats, int in_fd)
stats->count++;
- err = classify_user_id (line, &desc);
+ err = classify_user_id (line, &desc, 0);
if (err)
{
print_import_problem (ctrl, NULL, 0);