SDK 1.53 update.

This commit is contained in:
Mr_Goldberg
2022-01-25 15:49:26 -05:00
parent 8383f16be7
commit 1a411405e6
27 changed files with 2872 additions and 624 deletions

View File

@ -22,8 +22,11 @@
static void
randombytes(char * const buf, const size_t size)
{
while (!RtlGenRandom((PVOID) buf, (ULONG) size)) {
PRINT_DEBUG("RtlGenRandom ERROR\n");
Sleep(100);
}
RtlGenRandom((PVOID) buf, (ULONG) size);
}
std::string get_env_variable(std::string name)