From: Nick Mathewson Date: Thu, 11 Dec 2008 21:11:31 +0000 (+0000) Subject: Do not discard sign on return values of iv crypto functions in tests. May fix CID... X-Git-Tag: tor-0.2.1.9-alpha~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=519de7970e3ecc453a32bbd5095e6771b55b3910;p=thirdparty%2Ftor.git Do not discard sign on return values of iv crypto functions in tests. May fix CID 9. Might not. svn:r17603 --- diff --git a/src/or/test.c b/src/or/test.c index 9007bc3a59..87d866a43f 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -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);