From 519de7970e3ecc453a32bbd5095e6771b55b3910 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 11 Dec 2008 21:11:31 +0000 Subject: [PATCH] Do not discard sign on return values of iv crypto functions in tests. May fix CID 9. Might not. svn:r17603 --- src/or/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3