diff --git a/ChangeLog b/ChangeLog index f16addee2..9485dec3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-09 Robert Millan + + * normal/auth.c: Include `'. + (grub_auth_strcmp): Replace `strcmp' with `grub_strcmp'. + 2009-11-09 Robert Millan * normal/auth.c (punishment_delay): New variable. diff --git a/normal/auth.c b/normal/auth.c index 0d3d5b2b2..41547e33c 100644 --- a/normal/auth.c +++ b/normal/auth.c @@ -22,6 +22,7 @@ #include #include #include +#include struct grub_auth_user { @@ -42,7 +43,7 @@ grub_auth_strcmp (const char *s1, const char *s2) grub_uint64_t end; end = grub_get_time_ms () + 100; - ret = strcmp (s1, s2); + ret = grub_strcmp (s1, s2); /* This prevents an attacker from deriving information about the password from the time it took to execute this function. */