]> 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>
Thu, 1 Sep 2022 12:15:07 +0000 (14:15 +0200)
commitcf0684e14637084f2b70256bfe02a410b4430c1c
tree4fc4fc7c49de60d7b86fd235c47fa143cb509b97
parent67835adbeeb9712cacc32ad3412c83c15df72b20
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