Miscellaneous small fixes to prettify startup output.

This commit is contained in:
Jorrit Herder
2005-08-02 15:56:24 +00:00
parent 7af2b107d4
commit 0bd61375ad
4 changed files with 5 additions and 10 deletions
-2
View File
@@ -214,7 +214,6 @@ PRIVATE void reseed()
return;
reseed_count++;
printf("reseed: round %d, samples = %d\n", reseed_count, samples);
SHA256_Init(&ctx);
if (got_seeded)
SHA256_Update(&ctx, random_key, sizeof(random_key));
@@ -225,7 +224,6 @@ PRIVATE void reseed()
{
if ((reseed_count & (1UL << (i-1))) != 0)
break;
printf("random_reseed: adding pool %d\n", i);
SHA256_Final(digest, &pool_ctx[i]);
SHA256_Update(&ctx, digest, sizeof(digest));
SHA256_Init(&pool_ctx[i]);