]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/rand/rand_lib.c
Allow for higher granularity of entropy estimates by using 'double'
[thirdparty/openssl.git] / crypto / rand / rand_lib.c
index 9a0b804292bc4c907627f8187316caabc3923999..b09a300c46e5bb84353ab6de01a0cc6b24a88e79 100644 (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);