diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-03 11:57:42 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-03 11:57:42 -0500 |
commit | 989db9aed19f0ca3c93a1638bab4a2b473a94aa9 (patch) | |
tree | b56998b0f25b99da328f61dc3843e10cd3eeb1c9 /src/or/rendmid.c | |
parent | 1a07348a50ec679c8b7bb1abb45e61a9ebcc69a9 (diff) | |
download | tor-989db9aed19f0ca3c93a1638bab4a2b473a94aa9.tar.gz tor-989db9aed19f0ca3c93a1638bab4a2b473a94aa9.zip |
fix whitespace issues
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index 84b1214dc2..064f1be2e8 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -64,7 +64,8 @@ rend_mid_establish_intro(or_circuit_t *circ, const uint8_t *request, } /* Rest of body: signature of previous data */ note_crypto_pk_op(REND_MID); - if (crypto_pk_public_checksig_digest(pk, (char*)request, 2+asn1len+DIGEST_LEN, + if (crypto_pk_public_checksig_digest(pk, + (char*)request, 2+asn1len+DIGEST_LEN, (char*)(request+2+DIGEST_LEN+asn1len), request_len-(2+DIGEST_LEN+asn1len))<0) { log_warn(LD_PROTOCOL, @@ -125,7 +126,8 @@ rend_mid_establish_intro(or_circuit_t *circ, const uint8_t *request, * INTRODUCE2 cell. */ int -rend_mid_introduce(or_circuit_t *circ, const uint8_t *request, size_t request_len) +rend_mid_introduce(or_circuit_t *circ, const uint8_t *request, + size_t request_len) { or_circuit_t *intro_circ; char serviceid[REND_SERVICE_ID_LEN_BASE32+1]; |