mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -178,7 +178,7 @@ gpgsm_export (ctrl_t ctrl, strlist_t names, estream_t stream)
|
|||
{
|
||||
for (ndesc=0, sl=names; sl; sl = sl->next)
|
||||
{
|
||||
rc = classify_user_id (sl->d, desc+ndesc);
|
||||
rc = classify_user_id (sl->d, desc+ndesc, 0);
|
||||
if (rc)
|
||||
{
|
||||
log_error ("key `%s' not found: %s\n",
|
||||
|
@ -348,7 +348,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream)
|
|||
goto leave;
|
||||
}
|
||||
|
||||
err = classify_user_id (name, desc);
|
||||
err = classify_user_id (name, desc, 0);
|
||||
if (err)
|
||||
{
|
||||
log_error ("key `%s' not found: %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue