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

Released snapshot 1.0.4g

This commit is contained in:
Werner Koch 2001-04-06 09:59:50 +00:00
parent dc0a8ead18
commit 7cf01ff10d
31 changed files with 2049 additions and 1601 deletions

View file

@ -139,6 +139,16 @@ initialize(void)
cipher_modules_constructor();
}
static void
burn_stack (int bytes)
{
char buf[128];
memset (buf, 0, sizeof buf);
bytes -= sizeof buf;
if (bytes > 0)
burn_stack (bytes);
}
void
random_dump_stats()
@ -269,6 +279,7 @@ mix_pool(byte *pool)
rmd160_mixblock( &md, hashbuf);
memcpy(p, hashbuf, 20 );
}
burn_stack (200); /* for the rmd160_mixblock() */
}