diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-07-30 19:12:03 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-07-30 19:12:03 +0000 |
commit | ac5893c62675ac0f25538c5b231dd3cd287eb4d9 (patch) | |
tree | f959e277ee907e9768b1b8c8c67034839948fb13 /src/or/circuit.c | |
parent | f12fdd62aa9ac5561dc2133a2110c3f9dd42900c (diff) | |
download | tor-ac5893c62675ac0f25538c5b231dd3cd287eb4d9.tar tor-ac5893c62675ac0f25538c5b231dd3cd287eb4d9.tar.gz |
src/or
svn:r371
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 98f0b1443..3ba0dad5e 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -872,13 +872,13 @@ int circuit_finish_handshake(circuit_t *circ, char *reply) { log_fn(LOG_DEBUG,"hop %d init cipher forward %d, backward %d.", (uint32_t)hop, *(uint32_t*)keys, *(uint32_t*)(keys+16)); if (!(hop->f_crypto = - crypto_create_init_cipher(DEFAULT_CIPHER,keys,iv,1))) { + crypto_create_init_cipher(CIRCUIT_CIPHER,keys,iv,1))) { log(LOG_ERR,"Cipher initialization failed."); return -1; } if (!(hop->b_crypto = - crypto_create_init_cipher(DEFAULT_CIPHER,keys+16,iv,0))) { + crypto_create_init_cipher(CIRCUIT_CIPHER,keys+16,iv,0))) { log(LOG_ERR,"Cipher initialization failed."); return -1; } |