summaryrefslogtreecommitdiffstats
path: root/common/userids.h
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 /common/userids.h
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 'common/userids.h')
-rw-r--r--common/userids.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/userids.h b/common/userids.h
index 246b10768..9b3a2c313 100644
--- a/common/userids.h
+++ b/common/userids.h
@@ -22,7 +22,8 @@
#include "../kbx/keybox-search-desc.h"
-gpg_error_t classify_user_id (const char *name, KEYDB_SEARCH_DESC *desc);
+gpg_error_t classify_user_id (const char *name, KEYDB_SEARCH_DESC *desc,
+ int openpgp_hack);
#endif /*GNUPG_COMMON_USERIDS_H*/