mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
parent
880b0a7600
commit
d1571ce00a
Notes:
sideshowbarker
2024-07-19 03:52:42 +09:00
Author: https://github.com/alimpfard 🔰 Commit: https://github.com/SerenityOS/serenity/commit/d1571ce00a8 Pull-request: https://github.com/SerenityOS/serenity/pull/3100
@ -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…
Reference in New Issue
Block a user