aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-09-04 06:24:54 +0000
committerRoger Dingledine <arma@torproject.org>2002-09-04 06:24:54 +0000
commit5948f1431c3e2d82589cc936af52a55cfa376cef (patch)
tree27845e8674aa251a53ac6d7f153975a9d842a731 /src/or
parent4eb0158f4225460b2e714e73475c9e5bc7ccefd7 (diff)
downloadtor-5948f1431c3e2d82589cc936af52a55cfa376cef.tar
tor-5948f1431c3e2d82589cc936af52a55cfa376cef.tar.gz
fixed the killer bug with onion proxies
svn:r95
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_op.c b/src/or/connection_op.c
index 4ead87e84..2ee1de317 100644
--- a/src/or/connection_op.c
+++ b/src/or/connection_op.c
@@ -80,8 +80,8 @@ int op_handshake_process_keys(connection_t *conn) {
#endif
memset(iv, 0, 16);
- crypto_cipher_set_key(conn->b_crypto, iv);
- crypto_cipher_set_key(conn->f_crypto, iv);
+ crypto_cipher_set_iv(conn->b_crypto, iv);
+ crypto_cipher_set_iv(conn->f_crypto, iv);
crypto_cipher_encrypt_init_cipher(conn->b_crypto);
crypto_cipher_decrypt_init_cipher(conn->f_crypto);