aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-05-24 05:17:45 -0400
committerJack Lloyd <[email protected]>2019-05-24 05:17:45 -0400
commite16ec9353e3aa379b730fdb8d9473bc2cccb4b72 (patch)
tree66790ca9853eb35a1ae1d2f7474447930f176908 /src
parent25bf95637449335be943d9479f40ab9bc79aec6f (diff)
Avoid warnings
Diffstat (limited to 'src')
-rw-r--r--src/cli/tls_proxy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli/tls_proxy.cpp b/src/cli/tls_proxy.cpp
index e2613f95d..2770a7c48 100644
--- a/src/cli/tls_proxy.cpp
+++ b/src/cli/tls_proxy.cpp
@@ -57,11 +57,13 @@ inline void log_error(const char* where, const boost::system::error_code& error)
inline void log_binary_message(const char* where, const uint8_t buf[], size_t buf_len)
{
+ BOTAN_UNUSED(where, buf, buf_len);
//std::cout << where << ' ' << Botan::hex_encode(buf, buf_len) << std::endl;
}
void log_text_message(const char* where, const uint8_t buf[], size_t buf_len)
{
+ BOTAN_UNUSED(where, buf, buf_len);
//const char* c = reinterpret_cast<const char*>(buf);
//std::cout << where << ' ' << std::string(c, c + buf_len) << std::endl;
}