diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-11 21:11:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-11 21:11:31 +0000 |
commit | 519de7970e3ecc453a32bbd5095e6771b55b3910 (patch) | |
tree | 34c92b8dd23064c70c117af172a740b91a21e75f /src/or/test.c | |
parent | 7e351a634175cb89fba6393c80ea096bf5063556 (diff) | |
download | tor-519de7970e3ecc453a32bbd5095e6771b55b3910.tar.gz tor-519de7970e3ecc453a32bbd5095e6771b55b3910.zip |
Do not discard sign on return values of iv crypto functions in tests. May fix CID 9. Might not.
svn:r17603
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |