summaryrefslogtreecommitdiff
path: root/louloulibs/network/tcp_socket_handler.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-08 21:25:20 +0100
committerlouiz’ <louiz@louiz.org>2016-12-08 21:26:42 +0100
commite1e740e35edeccfc04d2808fc215c6a12698305f (patch)
tree6a2c9430db06455f1ac74b27e34000a79543a8ec /louloulibs/network/tcp_socket_handler.hpp
parent7f2eb6073761ebddc37d7872e44d621d719d6828 (diff)
downloadbiboumi-e1e740e35edeccfc04d2808fc215c6a12698305f.tar.gz
biboumi-e1e740e35edeccfc04d2808fc215c6a12698305f.tar.bz2
biboumi-e1e740e35edeccfc04d2808fc215c6a12698305f.tar.xz
biboumi-e1e740e35edeccfc04d2808fc215c6a12698305f.zip
Don’t use global static members but functions that return a reference to an internal static object
See https://github.com/randombit/botan/issues/761
Diffstat (limited to 'louloulibs/network/tcp_socket_handler.hpp')
-rw-r--r--louloulibs/network/tcp_socket_handler.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/louloulibs/network/tcp_socket_handler.hpp b/louloulibs/network/tcp_socket_handler.hpp
index 3c6ff71..7fc40c2 100644
--- a/louloulibs/network/tcp_socket_handler.hpp
+++ b/louloulibs/network/tcp_socket_handler.hpp
@@ -222,14 +222,7 @@ protected:
virtual void on_connection_close(const std::string&) {}
virtual void on_connection_failed(const std::string&) {}
-private:
#ifdef BOTAN_FOUND
- /**
- * Botan stuff to manipulate a TLS session.
- */
- static Botan::AutoSeeded_RNG rng;
- static BiboumiTLSPolicy policy;
- static Botan::TLS::Session_Manager_In_Memory session_manager;
protected:
BasicCredentialsManager credential_manager;
private: