SDK 1.53 update.

This commit is contained in:
Mr_Goldberg 2022-01-25 15:49:26 -05:00
parent 8383f16be7
commit 1a411405e6
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
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)