Changes to OE Pal.

This commit is contained in:
Matthew Parkinson
2021-03-29 09:40:41 +01:00
committed by Matthew Parkinson
parent 0377fd88d4
commit 52a1a9cce1
3 changed files with 3 additions and 1 deletions

View File

@@ -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;
}