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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user