aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-02-26 17:16:45 +0000
committerWerner Koch <[email protected]>2015-02-26 17:16:45 +0000
commitc071be698efadef1ad01fd3d329d1b486a372927 (patch)
treedcf999a07b3ae48e6f56fdcfee3e9f50756ac620 /common/stringhelp.h
parentRemove an unused variable. (diff)
downloadgnupg-c071be698efadef1ad01fd3d329d1b486a372927.tar.gz
gnupg-c071be698efadef1ad01fd3d329d1b486a372927.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--common/stringhelp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h
index d4fe169a7..ffef2d52f 100644
--- a/common/stringhelp.h
+++ b/common/stringhelp.h
@@ -75,6 +75,7 @@ int ascii_isupper (int c);
int ascii_islower (int c);
int ascii_toupper (int c);
int ascii_tolower (int c);
+char *ascii_strlwr (char *s);
int ascii_strcasecmp( const char *a, const char *b );
int ascii_strncasecmp (const char *a, const char *b, size_t n);
int ascii_memcasecmp( const void *a, const void *b, size_t n );