Home GnuPG
Diffusion GnuPG 93fa3d5c1760

gpg: Add function to extract the mailbox.
93fa3d5c1760Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 24 2015, 5:43 PM
Parents
rGd79011180112: common: Add another test case to zb32.c
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG93fa3d5c1760: gpg: Add function to extract the mailbox. (authored by Werner Koch <wk@gnupg.org>).Feb 24 2015, 5:46 PM