Skip to content

Commit

Permalink
Issue 282: fix tolower_ascii in lib/krb5/principal.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland C. Dowdeswell authored and nicowilliams committed May 16, 2017
1 parent 6f3ab01 commit e65db60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krb5/principal.c
Expand Up @@ -1250,7 +1250,7 @@ krb5_principal_is_root_krbtgt(krb5_context context, krb5_const_principal p)
static int
tolower_ascii(int c)
{
if (c >= 'A' || c <= 'Z')
if (c >= 'A' && c <= 'Z')
return 'a' + (c - 'A');
return c;
}
Expand Down

0 comments on commit e65db60

Please sign in to comment.