From 862458794363514e9ca37c78de24b4a22b7839e1 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 29 Aug 2017 14:48:08 -0400 Subject: [PATCH] Remove WORKAROUND_MS_BUG_Q258000 from the config and osrng --- config.h | 5 ----- osrng.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config.h b/config.h index 8c01c641..4f41ba5f 100644 --- a/config.h +++ b/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 diff --git a/osrng.h b/osrng.h index 555f1ba4..0c377a68 100644 --- a/osrng.h +++ b/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: