Merge branch 'vendor/OPENSSL'
[dragonfly.git] / lib / libpam / patches / openpam_configure.c.patch
1 $DragonFly: src/lib/libpam/patches/openpam_configure.c.patch,v 1.1 2005/07/13 12:34:21 joerg Exp $
2
3 --- openpam_configure.c.orig    2005-07-07 19:43:40.000000000 +0200
4 +++ openpam_configure.c 2005-07-07 19:44:09.000000000 +0200
5 @@ -69,7 +69,8 @@
6  match_word(const char *str, const char *word)
7  {
8  
9 -       while (*str && tolower(*str) == tolower(*word))
10 +       while (*str &&
11 +              tolower((unsigned char)*str) == tolower((unsigned char)*word))
12                 ++str, ++word;
13         return (*str == ' ' && *word == '\0');
14  }