[or-cvs] fixed the killer bug with onion proxies

Roger Dingledine arma at seul.org
Wed Sep 4 06:24:59 UTC 2002


Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/home/arma/work/onion/cvs/src/or

Modified Files:
	connection_op.c 
Log Message:
fixed the killer bug with onion proxies


Index: connection_op.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_op.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- connection_op.c	3 Sep 2002 19:03:16 -0000	1.8
+++ connection_op.c	4 Sep 2002 06:24:54 -0000	1.9
@@ -80,8 +80,8 @@
 #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);



More information about the tor-commits mailing list