test with dynamic override

This commit is contained in:
Daan Leijen 2021-12-09 16:14:50 -08:00
parent 36cf82dc71
commit a7bb572176
3 changed files with 48 additions and 9 deletions

View file

@ -167,7 +167,7 @@ If we cannot get good randomness, we fall back to weak randomness based on a tim
#if defined(_WIN32)
#if !defined(MI_USE_RTLGENRANDOM)
#if defined(MI_USE_BCRYPTGENRANDOM)
// We prefer BCryptGenRandom over RtlGenRandom
#pragma comment (lib,"bcrypt.lib")
#include <bcrypt.h>