* util/random_unix.c: Add kFreeBSD to the list of secure RNG.
This commit is contained in:
parent
47345010a4
commit
fb295fc070
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-10-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/random_unix.c: Add kFreeBSD to the list of secure RNG.
|
||||||
|
|
||||||
2013-10-04 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-10-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Add AROS hostdisk and getroot routines.
|
Add AROS hostdisk and getroot routines.
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
int
|
int
|
||||||
grub_get_random (void *out, grub_size_t len)
|
grub_get_random (void *out, grub_size_t len)
|
||||||
{
|
{
|
||||||
#if ! defined (__linux__) && ! defined (__FreeBSD__) && ! defined (__OpenBSD__) && !defined (__GNU__) && ! defined (_WIN32) && !defined(__CYGWIN__)
|
#if ! defined (__linux__) && ! defined (__FreeBSD__) && ! defined (__FreeBSD_kernel__) && ! defined (__OpenBSD__) && !defined (__GNU__) && ! defined (_WIN32) && !defined(__CYGWIN__)
|
||||||
/* 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…
Add table
Reference in a new issue