]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
authorDouglas Ray <dougray@cpan.org>
Wed, 18 Sep 2013 11:44:00 +0000 (13:44 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 18 Sep 2013 11:44:00 +0000 (13:44 +0200)
as secure.

ChangeLog
util/grub-mkpasswd-pbkdf2.c

index 2c82cd3e95fff35bb93d556a19e8554af1838527..9f0889dcd8415b59821598506bd865c5ad77d5a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-18  Douglas Ray <dougray@cpan.org>
+
+       * util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
+       as secure.
+
 2013-09-18  Aleš Nesrsta  <starous@volny.cz>
 
        * docs/grub.texi: Fix broken link.
index c4e5c5968f248bca47bf973c76d43de3cb3b97ba..36b06ac123afc2f1aeb74aefdfee1d9294dff236 100644 (file)
@@ -112,7 +112,7 @@ hexify (char *hex, grub_uint8_t *bin, grub_size_t n)
 static int
 grub_get_random (void *out, grub_size_t len)
 {
-#if ! defined (__linux__) && ! defined (__FreeBSD__)
+#if ! defined (__linux__) && ! defined (__FreeBSD__) && ! defined (__OpenBSD__)
   /* 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"