diff options
Diffstat (limited to 'src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.h')
-rw-r--r-- | src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.h b/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.h index a32cc98..dc1b60a 100644 --- a/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.h +++ b/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.h @@ -33,6 +33,8 @@ #include <boost/random/uniform_int.hpp> #include <boost/random/variate_generator.hpp> +#include <boost/thread/mutex.hpp> + namespace Mad { namespace Modules { namespace AuthBackendChallengeResponse { @@ -58,6 +60,8 @@ class MAD_MODULE_EXPORT AuthBackendChallengeResponse : public Common::AuthBacken Common::Application *application; + boost::mutex mutex; + boost::mt19937 rng; boost::uniform_int<boost::uint8_t> byteDistribution; boost::variate_generator<boost::mt19937&, boost::uniform_int<boost::uint8_t> > randomGenerator; |