Default to fortuna due to weired /dev/*random that failes to deliver
random data for us in hi load situations. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21198 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -56,11 +56,7 @@ init_method(void)
|
|||||||
{
|
{
|
||||||
if (selected_meth != NULL)
|
if (selected_meth != NULL)
|
||||||
return;
|
return;
|
||||||
|
selected_meth = &hc_rand_fortuna_method;
|
||||||
if ((*hc_rand_unix_method.status)() == 1)
|
|
||||||
selected_meth = &hc_rand_unix_method;
|
|
||||||
else
|
|
||||||
selected_meth = &hc_rand_fortuna_method;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user