From a4e5bf977297f3142e51c3fe94b0ded8af12224a Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 25 Feb 2015 17:33:00 +0000 Subject: Don't bother passing through the mac_length, the caller already knows it since they supplied it --- tests/test_message.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') 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 */ } -- cgit v1.2.3