aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendmid.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-31 19:17:07 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-31 19:17:07 +0000
commit1bf1f9d2fca917099c7e26e8f46df36329cd5c65 (patch)
tree756676cc8fc30d175869b579fad56d05a1d5ce06 /src/or/rendmid.c
parent058ae90539de12b2486bc4032b11bc1d79357f41 (diff)
downloadtor-1bf1f9d2fca917099c7e26e8f46df36329cd5c65.tar
tor-1bf1f9d2fca917099c7e26e8f46df36329cd5c65.tar.gz
r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500
Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons. svn:r8881
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r--src/or/rendmid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c
index 740e5d031..04e9f9ef7 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -65,6 +65,7 @@ rend_mid_establish_intro(or_circuit_t *circ, const char *request,
goto err;
}
/* Rest of body: signature of previous data */
+ note_crypto_pk_op(REND_MID);
if (crypto_pk_public_checksig_digest(pk, request, 2+asn1len+DIGEST_LEN,
request+2+DIGEST_LEN+asn1len,
request_len-(2+DIGEST_LEN+asn1len))<0) {