mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-06-14 16:44:05 +00:00
Added RtlGenRandom result debug.
This commit is contained in:
parent
ba23e904ad
commit
8751d4e279
|
@ -64,8 +64,8 @@ bool _trace(const char* format, ...)
|
|||
static void
|
||||
randombytes(char * const buf, const size_t size)
|
||||
{
|
||||
|
||||
RtlGenRandom((PVOID) buf, (ULONG) size);
|
||||
BOOLEAN res = RtlGenRandom((PVOID) buf, (ULONG) size);
|
||||
PRINT_DEBUG("RtlGenRandom result: %s\n", (res ? "TRUE" : "FALSE"));
|
||||
}
|
||||
|
||||
std::string get_env_variable(std::string name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user