aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c
index cf3384026..511e8c232 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -4338,8 +4338,9 @@ test_crypto_aes_iv(void)
crypto_free_cipher_env(cipher);
cipher = NULL;
test_eq(encrypted_size, 16 + 1);
- tor_assert(encrypted_size > 0); /*XXXX021 Obviously this is true. But does
- * this make Coverity happy? */
+ tor_assert(encrypted_size > 0); /* This is obviously true, since 17 is
+ * greater than 0, but its truth is not
+ * obvious to all analysis tools. */
cipher = crypto_create_init_cipher(key1, 0);
decrypted_size = crypto_cipher_decrypt_with_iv(cipher, decrypted1, 1,
encrypted1, encrypted_size);