diff options
author | Jack Lloyd <[email protected]> | 2016-10-12 15:32:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-12 15:32:14 -0400 |
commit | ed9e147695e4c5e800e83654baf365a634f3a2a7 (patch) | |
tree | 59bad402cff7d7af9baa5fd79081d677b60afc83 /src/lib/tls/tls_session_manager.h | |
parent | d59b164a2ad2bc2290265530ac1a5c7be7855975 (diff) |
Abstract out mutex type. Make threads optional.
Diffstat (limited to 'src/lib/tls/tls_session_manager.h')
-rw-r--r-- | src/lib/tls/tls_session_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_session_manager.h b/src/lib/tls/tls_session_manager.h index e01462f66..49f4925d8 100644 --- a/src/lib/tls/tls_session_manager.h +++ b/src/lib/tls/tls_session_manager.h @@ -9,7 +9,7 @@ #define BOTAN_TLS_SESSION_MANAGER_H__ #include <botan/tls_session.h> -#include <mutex> +#include <botan/mutex.h> #include <chrono> #include <map> @@ -138,7 +138,7 @@ class BOTAN_DLL Session_Manager_In_Memory : public Session_Manager bool load_from_session_str(const std::string& session_str, Session& session); - std::mutex m_mutex; + mutex_type m_mutex; size_t m_max_sessions; |