gpg: Lowercase mailbox for PKA lookups.
authorWerner Koch <wk@gnupg.org>
Thu, 26 Feb 2015 17:16:45 +0000 (18:16 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 26 Feb 2015 17:16:45 +0000 (18:16 +0100)
commitc071be698efadef1ad01fd3d329d1b486a372927
treedcf999a07b3ae48e6f56fdcfee3e9f50756ac620
parent736710aedecfb1cb5ab6293a24f09b433917d7eb
gpg: Lowercase mailbox for PKA lookups.

* common/stringhelp.c (ascii_strlwr): New.
* common/mbox-util.c (mailbox_from_userid): Downcase result.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
common/mbox-util.c
common/stringhelp.c
common/stringhelp.h