mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:37:35 +00:00
parent
880b0a7600
commit
d1571ce00a
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue