From 8079285e5c553d19e140faef0722e9293f3baddd Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 29 Aug 2018 15:35:05 +0300 Subject: [PATCH] Remove logging of OpenSSL internal errors. GitOrigin-RevId: 1081cfb0efda59ac8bb08746b0b29fb1c39f299d --- tdnet/td/net/SslStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdnet/td/net/SslStream.cpp b/tdnet/td/net/SslStream.cpp index 23d7d601d..5dff93293 100644 --- a/tdnet/td/net/SslStream.cpp +++ b/tdnet/td/net/SslStream.cpp @@ -149,10 +149,10 @@ Status create_openssl_error(int code, Slice message) { char error_buf[1024]; ERR_error_string_n(error_code, error_buf, sizeof(error_buf)); Slice error(error_buf, std::strlen(error_buf)); - LOG_IF(ERROR, ends_with(error, "internal error")) << "OpenSSL internal error: " << error; sb << "{" << error << "}"; } LOG_IF(ERROR, sb.is_error()) << "OpenSSL error buffer overflow"; + LOG(DEBUG) << sb.as_cslice(); return Status::Error(code, sb.as_cslice()); }