2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Fix breakage in normal/auth.c. * normal/auth.c (grub_iswordseparator): New function.
This commit is contained in:
parent
e7e1f93ff6
commit
ff747d50c1
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Fix breakage in normal/auth.c.
|
||||||
|
|
||||||
|
* normal/auth.c (grub_iswordseparator): New function.
|
||||||
|
|
||||||
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
|
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Authentication support.
|
Authentication support.
|
||||||
|
|
|
@ -48,6 +48,12 @@ grub_auth_strcmp (const char *user_input, const char *template)
|
||||||
return !ok;
|
return !ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
grub_iswordseparator (int c)
|
||||||
|
{
|
||||||
|
return (grub_isspace (c) || c == ',' || c == ';' || c == '|' || c == '&');
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
grub_auth_strword (const char *haystack, const char *needle)
|
grub_auth_strword (const char *haystack, const char *needle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue