From: Douglas Ray Date: Wed, 18 Sep 2013 11:44:00 +0000 (+0200) Subject: * util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG X-Git-Tag: grub-2.02-beta1~853 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d404d15450732e90d5edc721290b34bbde1a776c;p=thirdparty%2Fgrub.git * util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG as secure. --- diff --git a/ChangeLog b/ChangeLog index 2c82cd3e9..9f0889dcd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-18 Douglas Ray + + * util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG + as secure. + 2013-09-18 Aleš Nesrsta * docs/grub.texi: Fix broken link. diff --git a/util/grub-mkpasswd-pbkdf2.c b/util/grub-mkpasswd-pbkdf2.c index c4e5c5968..36b06ac12 100644 --- a/util/grub-mkpasswd-pbkdf2.c +++ b/util/grub-mkpasswd-pbkdf2.c @@ -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"