mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
This commit is contained in:
parent
4caa768f1d
commit
5da12674ea
20 changed files with 62 additions and 24 deletions
|
@ -217,7 +217,7 @@ register_trusted_key( const char *string )
|
|||
gpg_error_t err;
|
||||
KEYDB_SEARCH_DESC desc;
|
||||
|
||||
err = classify_user_id (string, &desc);
|
||||
err = classify_user_id (string, &desc, 1);
|
||||
if (err || desc.mode != KEYDB_SEARCH_MODE_LONG_KID )
|
||||
{
|
||||
log_error(_("`%s' is not a valid long keyID\n"), string );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue