summaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-28 20:13:21 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-28 20:13:21 +0000
commit7055f837abeca974d3b73ed26b6d26898daa9e89 (patch)
treec087acf0452d4da39409c5e68f67c06e7da17d1d /src/or/circuit.c
parentca8d50abeb260898a6657a06423667479a621a22 (diff)
downloadtor-7055f837abeca974d3b73ed26b6d26898daa9e89.tar.gz
tor-7055f837abeca974d3b73ed26b6d26898daa9e89.zip
Make Tor build on win32 with VC6 without warnings.
svn:r1739
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index 24ab5c59fb..4298922f01 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -1627,7 +1627,7 @@ int circuit_extend(cell_t *cell, circuit_t *circ) {
*/
int circuit_init_cpath_crypto(crypt_path_t *cpath, char *key_data, int reverse)
{
- unsigned char iv[CIPHER_IV_LEN];
+ unsigned char iv[_ARRAYSIZE(CIPHER_IV_LEN)];
crypto_digest_env_t *tmp_digest;
crypto_cipher_env_t *tmp_crypto;