Do not discard sign on return values of iv crypto functions in tests. May fix CID 9. Might not.

svn:r17603
This commit is contained in:
Nick Mathewson 2008-12-11 21:11:31 +00:00
parent 7e351a6341
commit 519de7970e

View File

@ -4086,7 +4086,7 @@ test_crypto_aes_iv(void)
char *plain, *encrypted1, *encrypted2, *decrypted1, *decrypted2;
char plain_1[1], plain_15[15], plain_16[16], plain_17[17];
char key1[16], key2[16];
size_t encrypted_size, decrypted_size;
ssize_t encrypted_size, decrypted_size;
plain = tor_malloc(4095);
encrypted1 = tor_malloc(4095 + 1 + 16);