From b938bb5ee69046812c802f41614078961c9add8a Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Mon, 28 Jan 2013 19:13:06 +0100 Subject: [PATCH] xio: add comment to function Signed-off-by: Daniel Borkmann --- xio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xio.c b/xio.c index bb5fe387..eb693b3e 100644 --- a/xio.c +++ b/xio.c @@ -189,6 +189,10 @@ static void randombytes(unsigned char *x, unsigned long long xlen) } } +/* Note: it's not really secure, but the name only suggests it's better to use + * than rand(3) when transferring bytes over the network in non-security + * critical structure members. secrand() is only used to fill up salts actually. + */ int secrand(void) { int ret; -- 2.11.4.GIT