Remove WORKAROUND_MS_BUG_Q258000 from the config and osrng. Firstly, it's no longer used anywhere. Next, when it was used, that workaround only applied to versions of Windows prior to Windows 2000. I.e. ancient, unsecure, unused versions of Windows.
parent
c06995a71b
commit
b17221d8dc
5
config.h
5
config.h
|
|
@ -145,11 +145,6 @@
|
|||
# error namespace support is now required
|
||||
#endif
|
||||
|
||||
// Define this to workaround a Microsoft CryptoAPI bug where
|
||||
// each call to CryptAcquireContext causes a 100 KB memory leak.
|
||||
// Defining this will cause Crypto++ to make only one call to CryptAcquireContext.
|
||||
#define WORKAROUND_MS_BUG_Q258000
|
||||
|
||||
#ifdef CRYPTOPP_DOXYGEN_PROCESSING
|
||||
// Document the namespce exists. Put it here before CryptoPP is undefined below.
|
||||
//! \namespace CryptoPP
|
||||
|
|
|
|||
2
osrng.h
2
osrng.h
|
|
@ -35,7 +35,7 @@ public:
|
|||
#ifdef CRYPTOPP_WIN32_AVAILABLE
|
||||
//! \class MicrosoftCryptoProvider
|
||||
//! \brief Wrapper for Microsoft crypto service provider
|
||||
//! \sa \def USE_MS_CRYPTOAPI, \def USE_MS_CNGAPI, \def WORKAROUND_MS_BUG_Q258000
|
||||
//! \sa \def USE_MS_CRYPTOAPI, \def USE_MS_CNGAPI
|
||||
class CRYPTOPP_DLL MicrosoftCryptoProvider
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue