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
|
@ -301,7 +301,7 @@ gpgsm_add_to_certlist (ctrl_t ctrl, const char *name, int secret,
|
|||
KEYDB_HANDLE kh = NULL;
|
||||
ksba_cert_t cert = NULL;
|
||||
|
||||
rc = classify_user_id (name, &desc);
|
||||
rc = classify_user_id (name, &desc, 0);
|
||||
if (!rc)
|
||||
{
|
||||
kh = keydb_new (0);
|
||||
|
@ -480,7 +480,7 @@ gpgsm_find_cert (const char *name, ksba_sexp_t keyid, ksba_cert_t *r_cert)
|
|||
KEYDB_HANDLE kh = NULL;
|
||||
|
||||
*r_cert = NULL;
|
||||
rc = classify_user_id (name, &desc);
|
||||
rc = classify_user_id (name, &desc, 0);
|
||||
if (!rc)
|
||||
{
|
||||
kh = keydb_new (0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue