* grub-core/tests/legacy_password_test.c: New test.
* grub-core/commands/legacycfg.c: Remove variable length arrays.
This commit is contained in:
parent
9c6482b8d6
commit
15decd26cc
6 changed files with 114 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue