* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
as secure.
This commit is contained in:
parent
28851ef640
commit
d404d15450
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-09-18 Douglas Ray <dougray@cpan.org>
|
||||||
|
|
||||||
|
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
|
||||||
|
as secure.
|
||||||
|
|
||||||
2013-09-18 Aleš Nesrsta <starous@volny.cz>
|
2013-09-18 Aleš Nesrsta <starous@volny.cz>
|
||||||
|
|
||||||
* docs/grub.texi: Fix broken link.
|
* docs/grub.texi: Fix broken link.
|
||||||
|
|
|
@ -112,7 +112,7 @@ hexify (char *hex, grub_uint8_t *bin, grub_size_t n)
|
||||||
static int
|
static int
|
||||||
grub_get_random (void *out, grub_size_t len)
|
grub_get_random (void *out, grub_size_t len)
|
||||||
{
|
{
|
||||||
#if ! defined (__linux__) && ! defined (__FreeBSD__)
|
#if ! defined (__linux__) && ! defined (__FreeBSD__) && ! defined (__OpenBSD__)
|
||||||
/* TRANSLATORS: The generator might still be secure just GRUB isn't sure about it. */
|
/* TRANSLATORS: The generator might still be secure just GRUB isn't sure about it. */
|
||||||
printf ("%s", _("WARNING: your random generator isn't known to be secure\n"));
|
printf ("%s", _("WARNING: your random generator isn't known to be secure\n"));
|
||||||
#warning "your random generator isn't known to be secure"
|
#warning "your random generator isn't known to be secure"
|
||||||
|
|
Loading…
Reference in a new issue