diff options
author | Werner Koch <wk@gnupg.org> | 2011-04-25 23:56:47 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-04-25 23:59:25 +0200 |
commit | 5da12674eaae11969b22e6f80e4957217ad406d6 (patch) | |
tree | 1ae8b482a2c2cdef4cb24055d6d15c99224b5b1d /g10/export.c | |
parent | Add OPTION:cache-ttl-opt-preset to gpg-agent. (diff) | |
download | gnupg2-5da12674eaae11969b22e6f80e4957217ad406d6.tar.xz gnupg2-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 'g10/export.c')
-rw-r--r-- | g10/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/export.c b/g10/export.c index 191f68b8b..9f4959e61 100644 --- a/g10/export.c +++ b/g10/export.c @@ -752,7 +752,7 @@ do_export_stream (ctrl_t ctrl, iobuf_t out, strlist_t users, int secret, for (ndesc=0, sl=users; sl; sl = sl->next) { - if (!(err=classify_user_id (sl->d, desc+ndesc))) + if (!(err=classify_user_id (sl->d, desc+ndesc, 1))) ndesc++; else log_error (_("key \"%s\" not found: %s\n"), |