mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-08-16 02:01:19 +00:00
Rand: check the status of the pseudorandom number generator
This commit is contained in:
parent
71e70c72df
commit
744cb2109b
@ -53,7 +53,11 @@ RandomSeed (
|
|||||||
RAND_seed (DefaultSeed, sizeof (DefaultSeed));
|
RAND_seed (DefaultSeed, sizeof (DefaultSeed));
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
if (RAND_status () == 1) {
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user