diff options
author | Bruno Haible <bruno@clisp.org> | 2022-08-15 23:21:05 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-08-15 23:21:05 +0200 |
commit | bb0e79e200e76b9181c1a80f64cff88aa01c5797 (patch) | |
tree | afd2d204804bbd5de5fd1818df75c4cbf144dd1a /lib | |
parent | a7ef21bf347da5e3a8b5492b849d633ef3252d62 (diff) | |
download | gnulib-bb0e79e200e76b9181c1a80f64cff88aa01c5797.tar.gz |
tempname: Fix a comment.
* lib/tempname.c (try_tempname_len): Use of entropy makes the function
more, not less, secure.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tempname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempname.c b/lib/tempname.c index 75a939e571..e6520191d7 100644 --- a/lib/tempname.c +++ b/lib/tempname.c @@ -273,7 +273,7 @@ try_tempname_len (char *tmpl, int suffixlen, void *args, /* Whether to consume entropy when acquiring random bits. On the first try it's worth the entropy cost with __GT_NOCREATE, which is inherently insecure and can use the entropy to make it a bit - less secure. On the (rare) second and later attempts it might + more secure. On the (rare) second and later attempts it might help against DoS attacks. */ bool use_getrandom = tryfunc == try_nocreate; |