Rand: check the status of the pseudorandom number generator

This commit is contained in:
Gary Ching-Pang Lin 2013-09-26 11:58:02 -04:00 committed by Peter Jones
parent 71e70c72df
commit 744cb2109b

View File

@ -53,7 +53,11 @@ RandomSeed (
RAND_seed (DefaultSeed, sizeof (DefaultSeed));
}
return TRUE;
if (RAND_status () == 1) {
return TRUE;
}
return FALSE;
}
/**