diff --git a/ChangeLog b/ChangeLog index 54e8180e7..8a8f5c8ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-10-04 Vladimir Serbinenko + + * util/random_unix.c: Add kFreeBSD to the list of secure RNG. + 2013-10-04 Vladimir Serbinenko Add AROS hostdisk and getroot routines. diff --git a/util/random_unix.c b/util/random_unix.c index f57454858..3c46435ff 100644 --- a/util/random_unix.c +++ b/util/random_unix.c @@ -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"