From: Vladimir 'phcoder' Serbinenko Date: Fri, 4 Oct 2013 00:39:31 +0000 (+0200) Subject: * util/random_unix.c: Add kFreeBSD to the list of secure RNG. X-Git-Tag: grub-2.02-beta1~773 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb295fc070c6351935256d0c3bcb09d3930979f1;p=thirdparty%2Fgrub.git * util/random_unix.c: Add kFreeBSD to the list of secure RNG. --- 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"