diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-05 21:38:58 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-09 20:51:39 +0000 |
commit | 6cd4fcdec4e6671e63e8c7cba2ab4c6d594b13fd (patch) | |
tree | 09485be8361d503f1acdee57055535a6b3331d17 /auto_tests/dht_test.c | |
parent | 05912fd65c52f97a600383be11cd741ae32d61bf (diff) |
Remove libcheck from the dependencies.
We're not gaining much from this library, and it's a burden, especially
for windows development.
Diffstat (limited to 'auto_tests/dht_test.c')
-rw-r--r-- | auto_tests/dht_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c index 227b43f7..8e735dbd 100644 --- a/auto_tests/dht_test.c +++ b/auto_tests/dht_test.c | |||
@@ -684,7 +684,7 @@ START_TEST(test_dht_create_packet) | |||
684 | ck_assert_msg(pkt[0] == NET_PACKET_GET_NODES, "Malformed packet."); | 684 | ck_assert_msg(pkt[0] == NET_PACKET_GET_NODES, "Malformed packet."); |
685 | ck_assert_msg(memcmp(pkt + 1, key, CRYPTO_SYMMETRIC_KEY_SIZE) == 0, "Malformed packet."); | 685 | ck_assert_msg(memcmp(pkt + 1, key, CRYPTO_SYMMETRIC_KEY_SIZE) == 0, "Malformed packet."); |
686 | ck_assert_msg(length == 1 + CRYPTO_PUBLIC_KEY_SIZE + CRYPTO_NONCE_SIZE + sizeof(plain) + CRYPTO_MAC_SIZE, | 686 | ck_assert_msg(length == 1 + CRYPTO_PUBLIC_KEY_SIZE + CRYPTO_NONCE_SIZE + sizeof(plain) + CRYPTO_MAC_SIZE, |
687 | "Invalid size. Should be %d got %d", sizeof(pkt), length); | 687 | "Invalid size. Should be %u got %d", (unsigned)sizeof(pkt), length); |
688 | 688 | ||
689 | printf("Create Packet Successful!\n"); | 689 | printf("Create Packet Successful!\n"); |
690 | } | 690 | } |