diff options
author | Simon Warta <[email protected]> | 2018-05-07 23:26:54 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2018-05-07 23:26:54 +0200 |
commit | 10983cb8f201881c16e6addb918188e8820344d5 (patch) | |
tree | bb6431de9d21b2441030cfc70a872b015480608b /src/lib/rng/system_rng | |
parent | d7d080992372cf4fbd569cce1d8cd6aa7599fa0d (diff) |
Add missing NTAPI to RtlGenRandom_f signature
Diffstat (limited to 'src/lib/rng/system_rng')
-rw-r--r-- | src/lib/rng/system_rng/system_rng.cpp | 2 |
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; |