Changes to OE Pal.
This commit is contained in:
committed by
Matthew Parkinson
parent
0377fd88d4
commit
52a1a9cce1
@@ -74,7 +74,7 @@ namespace snmalloc
|
||||
static uint64_t get_entropy64()
|
||||
{
|
||||
uint64_t result = 0;
|
||||
if (oe_random(&result, sizeof(result)) != 0)
|
||||
if (oe_random(&result, sizeof(result)) != OE_OK)
|
||||
error("Failed to get system randomness");
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user