diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-27 01:59:36 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-27 01:59:36 +0000 |
commit | 1b3c197fad4c71e279e8335270b5d111ff012a0e (patch) | |
tree | 2034e4e3e81c4339b037f65808d311f803658593 /src/or/circuit.c | |
parent | 1bc2384c5a645be3323ffb6303972e59d5c4344f (diff) | |
download | tor-1b3c197fad4c71e279e8335270b5d111ff012a0e.tar tor-1b3c197fad4c71e279e8335270b5d111ff012a0e.tar.gz |
clean up an ia64 warning
svn:r1140
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 5d429c205..d16a08d5f 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -1109,15 +1109,15 @@ 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_INFO,"hop %d init digest forward %u, backward %u.", - (int)hop, (unsigned)*(uint32_t*)keys, (unsigned)*(uint32_t*)(keys+20)); + log_fn(LOG_INFO,"hop init digest forward %u, backward %u.", + (unsigned)*(uint32_t*)keys, (unsigned)*(uint32_t*)(keys+20)); hop->f_digest = crypto_new_digest_env(CRYPTO_SHA1_DIGEST); crypto_digest_add_bytes(hop->f_digest, keys, 20); hop->b_digest = crypto_new_digest_env(CRYPTO_SHA1_DIGEST); crypto_digest_add_bytes(hop->b_digest, keys+20, 20); - log_fn(LOG_DEBUG,"hop %d init cipher forward %u, backward %u.", - (int)hop, (unsigned)*(uint32_t*)(keys+40), (unsigned) *(uint32_t*)(keys+40+16)); + log_fn(LOG_DEBUG,"hop init cipher forward %u, backward %u.", + (unsigned)*(uint32_t*)(keys+40), (unsigned) *(uint32_t*)(keys+40+16)); if (!(hop->f_crypto = crypto_create_init_cipher(CIRCUIT_CIPHER,keys+40,iv,1))) { log(LOG_WARN,"forward cipher initialization failed."); @@ -1173,7 +1173,6 @@ int circuit_truncated(circuit_t *circ, crypt_path_t *layer) { return 0; } - void assert_cpath_layer_ok(const crypt_path_t *cp) { assert(cp->f_crypto); |