mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
fixed the killer bug with onion proxies
svn:r95
This commit is contained in:
parent
4eb0158f42
commit
5948f1431c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user