From c071be698efadef1ad01fd3d329d1b486a372927 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 26 Feb 2015 18:16:45 +0100 Subject: 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 --- common/stringhelp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/stringhelp.h') 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 ); -- cgit v1.2.3