mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
slightly happier on 64-bit archs
svn:r349
This commit is contained in:
parent
a43c015838
commit
3dcc34491b
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ int circuit_finish_handshake(circuit_t *circ, char *reply) {
|
|||
crypto_dh_free(hop->handshake_state); /* don't need it anymore */
|
||||
hop->handshake_state = NULL;
|
||||
|
||||
log_fn(LOG_DEBUG,"hop %d init cipher forward %d, backward %d.", (int)hop, *(int*)keys, *(int*)(keys+16));
|
||||
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))) {
|
||||
log(LOG_ERR,"Cipher initialization failed.");
|
||||
|
|
Loading…
Add table
Reference in a new issue