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:
Love Hörnquist Åstrand
2009-03-22 17:20:07 +00:00
parent 5cdbc62e05
commit 59e499f32f

View File

@@ -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
}
/**