From: Lennart Poettering Date: Wed, 9 Mar 2022 13:32:41 +0000 (+0100) Subject: random-util: drop left-over comment X-Git-Tag: v251-rc1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d67e2b584bf577ecb4c80da2b5e5d0e332651ed;p=thirdparty%2Fsystemd.git random-util: drop left-over comment We don't use non-blocking mode anymore, since 31234fbeec1c4a8e500106dff4779ccaa5baef83 Follow-up for: 31234fbeec1c4a8e500106dff4779ccaa5baef83 --- diff --git a/src/basic/random-util.c b/src/basic/random-util.c index 227b82f7903..3891058cbc7 100644 --- a/src/basic/random-util.c +++ b/src/basic/random-util.c @@ -342,9 +342,6 @@ void random_bytes(void *p, size_t n) { * • This function will preferably use the CPU's RDRAND operation, if it is available, in * order to return "mid-quality" random values cheaply. * - * • Use getrandom() with GRND_NONBLOCK, to return high-quality random values if they are - * cheaply available. - * * • This function will return pseudo-random data, generated via libc rand() if nothing * better is available. *