aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2018-05-07 23:26:54 +0200
committerSimon Warta <[email protected]>2018-05-07 23:26:54 +0200
commit10983cb8f201881c16e6addb918188e8820344d5 (patch)
treebb6431de9d21b2441030cfc70a872b015480608b /src/lib/rng
parentd7d080992372cf4fbd569cce1d8cd6aa7599fa0d (diff)
Add missing NTAPI to RtlGenRandom_f signature
Diffstat (limited to 'src/lib/rng')
-rw-r--r--src/lib/rng/system_rng/system_rng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp
index 32dabbe9f..091fc94a0 100644
--- a/src/lib/rng/system_rng/system_rng.cpp
+++ b/src/lib/rng/system_rng/system_rng.cpp
@@ -50,7 +50,7 @@ class System_RNG_Impl final : public RandomNumberGenerator
void clear() override { /* not possible */ }
std::string name() const override { return "RtlGenRandom"; }
private:
- typedef BOOL (*RtlGenRandom_f)(PVOID, ULONG);
+ typedef BOOL (NTAPI *RtlGenRandom_f)(PVOID, ULONG);
Dynamically_Loaded_Library m_advapi;
RtlGenRandom_f m_rtlgenrandom;