]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/random_unix.c: Add kFreeBSD to the list of secure RNG.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 Oct 2013 00:39:31 +0000 (02:39 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 Oct 2013 00:39:31 +0000 (02:39 +0200)
ChangeLog
util/random_unix.c

index 54e8180e7846e86263327efb1bcb1e7706945408..8a8f5c8ba230ad81b32adb8ff0dfdba913c93b2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index f57454858fb46b0be66431cf22cdcf535d4c61f1..3c46435ffcfb61b383508b025c4b4413aed7f69d 100644 (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"