Cleared -Wunknown-pragmas under GCC 5.1/Cygwin on Windows
parent
c4a5d802e7
commit
94db43de97
7
osrng.h
7
osrng.h
|
|
@ -45,8 +45,11 @@ private:
|
||||||
ProviderHandle m_hProvider;
|
ProviderHandle m_hProvider;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined(__CYGWIN__) && !defined(__CYGWIN32__)
|
||||||
# pragma comment(lib, "advapi32.lib")
|
# pragma comment(lib, "advapi32.lib")
|
||||||
#endif
|
#endif // Cygwin
|
||||||
|
|
||||||
|
#endif //CRYPTOPP_WIN32_AVAILABLE
|
||||||
|
|
||||||
//! encapsulate CryptoAPI's CryptGenRandom or /dev/urandom
|
//! encapsulate CryptoAPI's CryptGenRandom or /dev/urandom
|
||||||
class CRYPTOPP_DLL NonblockingRng : public RandomNumberGenerator
|
class CRYPTOPP_DLL NonblockingRng : public RandomNumberGenerator
|
||||||
|
|
@ -86,7 +89,7 @@ protected:
|
||||||
|
|
||||||
CRYPTOPP_DLL void CRYPTOPP_API OS_GenerateRandomBlock(bool blocking, byte *output, size_t size);
|
CRYPTOPP_DLL void CRYPTOPP_API OS_GenerateRandomBlock(bool blocking, byte *output, size_t size);
|
||||||
|
|
||||||
//! Automaticly Seeded Randomness Pool
|
//! Automatically Seeded Randomness Pool
|
||||||
/*! This class seeds itself using an operating system provided RNG. */
|
/*! This class seeds itself using an operating system provided RNG. */
|
||||||
class CRYPTOPP_DLL AutoSeededRandomPool : public RandomPool
|
class CRYPTOPP_DLL AutoSeededRandomPool : public RandomPool
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue