Prefer /dev/random on MacOS since it's always there and have good performance.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24900 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -62,7 +62,11 @@ init_method(void)
|
||||
{
|
||||
if (selected_meth != NULL)
|
||||
return;
|
||||
#ifdef __APPLE__
|
||||
selected_meth = &hc_rand_unix_method;
|
||||
#else
|
||||
selected_meth = &hc_rand_fortuna_method;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user