diff options
author | Werner Koch <[email protected]> | 2015-02-24 16:43:57 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-02-24 16:46:22 +0000 |
commit | 93fa3d5c1760f3fee5412fb29d58fbd60db16ea9 (patch) | |
tree | b89b401ea5231a9300aca6a9f299d693c36923bd /common/stringhelp.c | |
parent | common: Add another test case to zb32.c (diff) | |
download | gnupg-93fa3d5c1760f3fee5412fb29d58fbd60db16ea9.tar.gz gnupg-93fa3d5c1760f3fee5412fb29d58fbd60db16ea9.zip |
gpg: Add function to extract the mailbox.
* g10/misc.c (has_invalid_email_chars, is_valid_mailbox)
(is_valid_user_id): Move to ...
* g10/mailbox.c: new file.
(string_has_ctrl_or_space, has_dotdot_after_at): New.
(has_invalid_email_chars): New.
* g10/t-mailbox.c: New.
* g10/Makefile.am (module_tests): Add t-mailbox.
(t_mailbox_SOURCES, t_mailbox_LDADD): New.
--
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/stringhelp.c')
0 files changed, 0 insertions, 0 deletions