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/delkey.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/delkey.c')
-rw-r--r-- | g10/delkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/delkey.c b/g10/delkey.c index 978549826..3b47c4049 100644 --- a/g10/delkey.c +++ b/g10/delkey.c @@ -63,7 +63,7 @@ do_delete_key( const char *username, int secret, int force, int *r_sec_avail ) *r_sec_avail = 0; /* Search the userid */ - rc = classify_user_id (username, &desc); + rc = classify_user_id (username, &desc, 1); exactmatch = (desc.mode == KEYDB_SEARCH_MODE_FPR || desc.mode == KEYDB_SEARCH_MODE_FPR16 || desc.mode == KEYDB_SEARCH_MODE_FPR20); |