diff options
author | Werner Koch <[email protected]> | 2011-04-25 21:56:47 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-04-25 21:59:25 +0000 |
commit | 5da12674eaae11969b22e6f80e4957217ad406d6 (patch) | |
tree | 1ae8b482a2c2cdef4cb24055d6d15c99224b5b1d /g10/revoke.c | |
parent | Add OPTION:cache-ttl-opt-preset to gpg-agent. (diff) | |
download | gnupg-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/revoke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/revoke.c b/g10/revoke.c index 3beeacfe1..c18dfb989 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -220,7 +220,7 @@ gen_desig_revoke( const char *uname, strlist_t locusr ) afx = new_armor_context (); kdbhd = keydb_new (); - rc = classify_user_id (uname, &desc); + rc = classify_user_id (uname, &desc, 1); if (!rc) rc = keydb_search (kdbhd, &desc, 1); if (rc) { @@ -463,7 +463,7 @@ gen_revoke (const char *uname) /* Search the userid; we don't want the whole getkey stuff here. */ kdbhd = keydb_new (); - rc = classify_user_id (uname, &desc); + rc = classify_user_id (uname, &desc, 1); if (!rc) rc = keydb_search (kdbhd, &desc, 1); if (rc) |