forked from github/verilator
Commentary.
This commit is contained in:
parent
b71eb76252
commit
98fb7ec193
@ -268,7 +268,7 @@ string V3Os::trueRandom(size_t size) {
|
|||||||
// This read uses the size of the buffer.
|
// This read uses the size of the buffer.
|
||||||
// Flawfinder: ignore
|
// Flawfinder: ignore
|
||||||
if (!is.read(data, size)) {
|
if (!is.read(data, size)) {
|
||||||
v3fatal("Could not open /dev/urandom, no source of randomness. Try specifing a key instead.");
|
v3fatal("Could not open /dev/urandom, no source of randomness. Try specifying a key instead.");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user