summaryrefslogtreecommitdiffstats
path: root/sm/sign.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-04-25 23:56:47 +0200
committerWerner Koch <wk@gnupg.org>2011-04-25 23:59:25 +0200
commit5da12674eaae11969b22e6f80e4957217ad406d6 (patch)
tree1ae8b482a2c2cdef4cb24055d6d15c99224b5b1d /sm/sign.c
parentAdd OPTION:cache-ttl-opt-preset to gpg-agent. (diff)
downloadgnupg2-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 '')
-rw-r--r--sm/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/sign.c b/sm/sign.c
index 0f83db60b..a3005cade 100644
--- a/sm/sign.c
+++ b/sm/sign.c
@@ -211,7 +211,7 @@ get_default_signer (ctrl_t ctrl)
return cert;
}
- rc = classify_user_id (opt.local_user, &desc);
+ rc = classify_user_id (opt.local_user, &desc, 0);
if (rc)
{
log_error ("failed to find default signer: %s\n", gpg_strerror (rc));