Allow for higher granularity of entropy estimates by using 'double'

instead of 'unsigned' counters.
Seed PRNG in MacOS/GetHTTPS.src/GetHTTPS.cpp.

Partially submitted by Yoram Meroz <yoram@mail.idrive.com>.
This commit is contained in:
Bodo Möller
2000-02-19 15:22:53 +00:00
parent ae1bb4e572
commit 853f757ece
6 changed files with 26 additions and 15 deletions

View File

@@ -89,7 +89,7 @@ void RAND_seed(const void *buf, int num)
rand_meth->seed(buf,num);
}
void RAND_add(const void *buf, int num, int entropy)
void RAND_add(const void *buf, int num, double entropy)
{
if (rand_meth != NULL)
rand_meth->add(buf,num,entropy);