]> Savannah Git Hosting - gnulib.git/commit
tempname: don't lose entropy in seed
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Aug 2022 20:43:18 +0000 (15:43 -0500)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 23:29:06 +0000 (01:29 +0200)
commit11e3b02925b337502543cc60a71b89b46ade709e
tree21bdb5840cb8e3de0f2a13ebe116d8839b0b4b5c
parent52fd4af5a646e48765bcf2dc87d11530b2aa6bec
tempname: don't lose entropy in seed

* lib/tempname.c (random_bits): Don't lose entropy in S
in the rare case where where the template has more than 10 Xs.
From a suggestion by Bruno Haible in:
https://bugs.gnu.org/57129#149
ChangeLog
lib/tempname.c