summaryrefslogtreecommitdiff
path: root/osrng.h
diff options
context:
space:
mode:
Diffstat (limited to 'osrng.h')
-rw-r--r--osrng.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/osrng.h b/osrng.h
index 655e4ed..0e2db3c 100644
--- a/osrng.h
+++ b/osrng.h
@@ -8,6 +8,7 @@
#include "randpool.h"
#include "rng.h"
#include "des.h"
+#include "fips140.h"
NAMESPACE_BEGIN(CryptoPP)
@@ -35,6 +36,8 @@ public:
private:
ProviderHandle m_hProvider;
};
+
+#pragma comment(lib, "advapi32.lib")
#endif
//! encapsulate CryptoAPI's CryptGenRandom or /dev/urandom