* util/random_unix.c: Add kFreeBSD to the list of secure RNG.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-04 02:39:31 +02:00
parent 47345010a4
commit fb295fc070
2 changed files with 5 additions and 1 deletions

View file

@ -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>
Add AROS hostdisk and getroot routines.

View file

@ -33,7 +33,7 @@
int
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. */
printf ("%s", _("WARNING: your random generator isn't known to be secure\n"));
#warning "your random generator isn't known to be secure"