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