diff --git a/lib/base/tlsstream.cpp b/lib/base/tlsstream.cpp index 7d9c0ce26..f9bbb6de2 100644 --- a/lib/base/tlsstream.cpp +++ b/lib/base/tlsstream.cpp @@ -193,8 +193,6 @@ void TlsStream::OnEvent(int revents) err = SSL_get_error(m_SSL.get(), rc); - std::ostringstream msgbuf; - switch (err) { case SSL_ERROR_WANT_READ: m_Retry = true; diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index 91804b6f4..e69197529 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -78,7 +78,6 @@ void InitializeOpenSSL(void) */ boost::shared_ptr MakeSSLContext(const String& pubkey, const String& privkey, const String& cakey) { - std::ostringstream msgbuf; char errbuf[120]; InitializeOpenSSL();