mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
Preparing for 1.9.2 release.
This commit is contained in:
parent
19d65e2b4b
commit
fbb2d9de15
10 changed files with 92 additions and 33 deletions
|
@ -66,11 +66,8 @@ char *mkdtemp(char *template)
|
|||
|
||||
idx=0;
|
||||
|
||||
/* Using really random bits is probably overkill here. The
|
||||
worst thing that can happen with a directory name collision
|
||||
is that the function will return an error. */
|
||||
|
||||
randombits = gcry_random_bytes (4*remaining, GCRY_WEAK_RANDOM);
|
||||
randombits = gcry_xmalloc (4*remaining);
|
||||
gcry_create_nonce (randombits, 4*remaining);
|
||||
|
||||
while(remaining>1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue