* grub-core/tests/legacy_password_test.c: New test.

* grub-core/commands/legacycfg.c: Remove variable length arrays.
This commit is contained in:
Vladimir Serbinenko 2013-11-12 02:38:33 +01:00
parent 9c6482b8d6
commit 15decd26cc
6 changed files with 114 additions and 16 deletions

View file

@ -24,4 +24,9 @@
char *grub_legacy_parse (const char *buf, char **entryname, char **suffix);
char *grub_legacy_escape (const char *in, grub_size_t len);
/* Entered has to be GRUB_AUTH_MAX_PASSLEN long, zero-padded. */
int
grub_legacy_check_md5_password (int argc, char **args,
char *entered);
#endif