diff options
Diffstat (limited to 'auto_tests/encryptsave_test.c')
-rw-r--r-- | auto_tests/encryptsave_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/encryptsave_test.c b/auto_tests/encryptsave_test.c index 13e06db4..07b0c4d4 100644 --- a/auto_tests/encryptsave_test.c +++ b/auto_tests/encryptsave_test.c | |||
@@ -151,7 +151,7 @@ START_TEST(test_keys) | |||
151 | ck_assert_msg(memcmp(out1, string, 44) == 0, "decryption 1 failed"); | 151 | ck_assert_msg(memcmp(out1, string, 44) == 0, "decryption 1 failed"); |
152 | 152 | ||
153 | ret = tox_pass_decrypt(encrypted2, 44 + TOX_PASS_ENCRYPTION_EXTRA_LENGTH, "123qweasdzxc", 12, out2, &decerr); | 153 | ret = tox_pass_decrypt(encrypted2, 44 + TOX_PASS_ENCRYPTION_EXTRA_LENGTH, "123qweasdzxc", 12, out2, &decerr); |
154 | ck_assert_msg(ret, "generic failure 5: %u", &decerr); | 154 | ck_assert_msg(ret, "generic failure 5: %u", decerr); |
155 | ck_assert_msg(memcmp(out2, string, 44) == 0, "decryption 2 failed"); | 155 | ck_assert_msg(memcmp(out2, string, 44) == 0, "decryption 2 failed"); |
156 | 156 | ||
157 | // test that pass_decrypt can decrypt things from pass_key_encrypt | 157 | // test that pass_decrypt can decrypt things from pass_key_encrypt |