diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-02-25 17:33:00 +0000 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2015-02-25 17:33:00 +0000 |
commit | a4e5bf977297f3142e51c3fe94b0ded8af12224a (patch) | |
tree | 94946011cfa7abf3ec5fdaa5a69e7e1822c6d4af /tests/test_message.cpp | |
parent | 5f9cc65589e71a47e0a06b2dd6fb39540eaaf9e5 (diff) |
Don't bother passing through the mac_length, the caller already knows it since they supplied it
Diffstat (limited to 'tests/test_message.cpp')
-rw-r--r-- | tests/test_message.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_message.cpp b/tests/test_message.cpp index a09d7e7..242243b 100644 --- a/tests/test_message.cpp +++ b/tests/test_message.cpp @@ -20,7 +20,6 @@ assert_equals(std::uint8_t(3), reader.version); assert_equals(std::uint32_t(1), reader.counter); assert_equals(std::size_t(10), reader.ratchet_key_length); assert_equals(std::size_t(10), reader.ciphertext_length); -assert_equals(std::size_t(8), reader.mac_length); assert_equals(ratchetkey, reader.ratchet_key, 10); assert_equals(ciphertext, reader.ciphertext, 10); @@ -47,7 +46,6 @@ std::memcpy(writer.mac, hmacsha2, 8); assert_equals(message2, output, 35); - } /* Message encode test */ } |