mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibTLS: Put lots of debug spam behind TLS_DEBUG
This commit is contained in:
parent
b0eca4023f
commit
5049e41223
5 changed files with 47 additions and 3 deletions
|
@ -199,7 +199,9 @@ ssize_t TLSv12::handle_message(const ByteBuffer& buffer)
|
|||
buffer_position += 2;
|
||||
|
||||
if (buffer_position + length > buffer.size()) {
|
||||
#ifdef TLS_DEBUG
|
||||
dbg() << "record length more than what we have: " << buffer.size();
|
||||
#endif
|
||||
return (i8)Error::NeedMoreData;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue