diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-05-08 13:01:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-05-08 13:01:58 -0400 |
commit | 8f21838ee5305b89c4089a06ca51e95bc89ae053 (patch) | |
tree | 4c97acf95ba40337605a3d0f0c44bb566941759e /src/test | |
parent | 9c58905a2bfd1049613173c27c357e8a20ff066a (diff) | |
parent | 7d3fd858388ddd4916c604ed5ab3c8cfc72dfd1c (diff) | |
download | tor-8f21838ee5305b89c4089a06ca51e95bc89ae053.tar tor-8f21838ee5305b89c4089a06ca51e95bc89ae053.tar.gz |
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index cc5af52e9..4b7e7f298 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -702,7 +702,7 @@ test_crypto_aes_iv(void *arg) /* Decrypt with the wrong key. */ decrypted_size = crypto_cipher_decrypt_with_iv(key2, decrypted2, 4095, encrypted1, encrypted_size); - test_memneq(plain, decrypted2, encrypted_size); + test_memneq(plain, decrypted2, decrypted_size); /* Alter the initialization vector. */ encrypted1[0] += 42; decrypted_size = crypto_cipher_decrypt_with_iv(key1, decrypted1, 4095, |