1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Preparing for 1.9.2 release.

This commit is contained in:
Werner Koch 2003-11-17 12:20:11 +00:00
parent 19d65e2b4b
commit fbb2d9de15
10 changed files with 92 additions and 33 deletions

View file

@ -1,5 +1,7 @@
2003-11-14 Werner Koch <wk@gnupg.org>
* mkdtemp.c (mkdtemp): Use gcry_create_nonce.
* cryptmiss.c: Removed.
2003-11-13 Werner Koch <wk@gnupg.org>

View file

@ -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)
{