diff options
Diffstat (limited to 'src/windows.rs')
-rw-r--r-- | src/windows.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windows.rs b/src/windows.rs index 56b3d07..643badd 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -11,6 +11,7 @@ use core::{ffi::c_void, num::NonZeroU32, ptr}; const BCRYPT_USE_SYSTEM_PREFERRED_RNG: u32 = 0x00000002; +#[link(name = "bcrypt")] extern "system" { fn BCryptGenRandom( hAlgorithm: *mut c_void, |