From 5a110e47176ae7bdc3b760029044989347275416 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 11 Jan 2015 04:50:38 +0000 Subject: Proxy tweaks --- src/cmd/tls_proxy.cpp | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/cmd/tls_proxy.cpp b/src/cmd/tls_proxy.cpp index 94ce28636..187996a4d 100644 --- a/src/cmd/tls_proxy.cpp +++ b/src/cmd/tls_proxy.cpp @@ -25,6 +25,10 @@ #include #include +#if defined(BOTAN_HAS_SYSTEM_RNG) + #include +#endif + #if defined(BOTAN_HAS_TLS_SQLITE3_SESSION_MANAGER) #include #endif @@ -44,7 +48,7 @@ inline void log_exception(const char* where, const std::exception& e) inline void log_error(const char* where, const boost::system::error_code& error) { - std::cout << where << ' ' << error.message() << std::endl; + //std::cout << where << ' ' << error.message() << std::endl; } inline void log_binary_message(const char* where, const byte buf[], size_t buf_len) @@ -92,7 +96,12 @@ class tls_proxy_session : public boost::enable_shared_from_this