LibTLS: Re-silence a debug log

bc7a149039 (r41386045)
This commit is contained in:
Ali Mohammad Pur 2020-08-12 02:15:13 +04:30 committed by Andreas Kling
parent 880b0a7600
commit d1571ce00a
Notes: sideshowbarker 2024-07-19 03:52:42 +09:00

View File

@ -140,7 +140,7 @@ ByteBuffer TLSv12::hmac_message(const ReadonlyBytes& buf, const Optional<Readonl
u64 sequence_number = convert_between_host_and_network(local ? m_context.local_sequence_number : m_context.remote_sequence_number); u64 sequence_number = convert_between_host_and_network(local ? m_context.local_sequence_number : m_context.remote_sequence_number);
ensure_hmac(mac_length, local); ensure_hmac(mac_length, local);
auto& hmac = local ? *m_hmac_local : *m_hmac_remote; auto& hmac = local ? *m_hmac_local : *m_hmac_remote;
#ifndef TLS_DEBUG #ifdef TLS_DEBUG
dbg() << "========================= PACKET DATA =========================="; dbg() << "========================= PACKET DATA ==========================";
print_buffer((const u8*)&sequence_number, sizeof(u64)); print_buffer((const u8*)&sequence_number, sizeof(u64));
print_buffer(buf.data(), buf.size()); print_buffer(buf.data(), buf.size());