aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-02-25 17:33:00 +0000
committerMark Haines <mjark@negativecurvature.net>2015-02-25 17:33:00 +0000
commita4e5bf977297f3142e51c3fe94b0ded8af12224a (patch)
tree94946011cfa7abf3ec5fdaa5a69e7e1822c6d4af /src
parent5f9cc65589e71a47e0a06b2dd6fb39540eaaf9e5 (diff)
Don't bother passing through the mac_length, the caller already knows it since they supplied it
Diffstat (limited to 'src')
-rw-r--r--src/message.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp
index d0e45e0..18dbe0e 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -120,7 +120,6 @@ axolotl::MessageReader axolotl::decode_message(
std::uint8_t const * end = input + input_length - mac_length;
std::uint8_t flags = 0;
result.mac = end;
- result.mac_length = mac_length;
if (pos == end) return result;
result.version = *(pos++);
while (pos != end) {