diff options
author | daan <daan@effp.org> | 2022-11-02 10:56:26 -0700 |
---|---|---|
committer | daan <daan@effp.org> | 2022-11-02 10:56:26 -0700 |
commit | e4630e798504d0fc0bdcc7cf5c68a8e0fc9017af (patch) | |
tree | 37761016ccacef1e03ee0da7255131cd1744b837 | |
parent | 63397d857e5e31d28903f6a019900fee492d07d0 (diff) | |
parent | 3bf299cd2b17c4b6c8cc74482f47f491ff1784ca (diff) |
Merge branch 'dev' into dev-slice
-rw-r--r-- | src/random.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/random.c b/src/random.c index d474a53..a5f5e6b 100644 --- a/src/random.c +++ b/src/random.c @@ -172,6 +172,8 @@ If we cannot get good randomness, we fall back to weak randomness based on a tim // We prefer to use BCryptGenRandom instead of (the unofficial) RtlGenRandom but when using // dynamic overriding, we observed it can raise an exception when compiled with C++, and // sometimes deadlocks when also running under the VS debugger. +// In contrast, issue #623 implies that on Windows Server 2019 we need to use BCryptGenRandom. +// To be continued.. #pragma comment (lib,"advapi32.lib") #define RtlGenRandom SystemFunction036 #ifdef __cplusplus |