From: Daniel Borkmann Date: Mon, 28 Jan 2013 18:13:06 +0000 (+0100) Subject: xio: add comment to function X-Git-Url: https://repo.or.cz/w/netsniff-ng.git/commitdiff_plain/b938bb5ee69046812c802f41614078961c9add8a xio: add comment to function Signed-off-by: Daniel Borkmann --- 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;