diff options
author | Isis Lovecruft <isis@torproject.org> | 2017-07-13 19:31:13 +0000 |
---|---|---|
committer | Isis Lovecruft <isis@torproject.org> | 2017-07-13 20:24:48 +0000 |
commit | c59ba015500aba040371a6d32134cb10d045e7bd (patch) | |
tree | fe101e8dcd56e200078c84a2cbc75745f47a6868 /src/or/rendmid.c | |
parent | 3aba8490ba590899b6c23071ef0b4269d8c36d37 (diff) | |
download | tor-c59ba015500aba040371a6d32134cb10d045e7bd.tar.gz tor-c59ba015500aba040371a6d32134cb10d045e7bd.zip |
rephist: Remove unused crypto_pk statistics.
These statistics were largely ununsed, and kept track of statistical information
on things like how many time we had done TLS or how many signatures we had
verified. This information is largely not useful, and would only be logged
after receiving a SIGUSR1 signal (but only if the logging severity level was
less than LOG_INFO).
* FIXES #19871.
* REMOVES note_crypto_pk_op(), dump_pk_op(), and pk_op_counts from
src/or/rephist.c.
* REMOVES every external call to these functions.
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index 23c3deddaa..66d2f93113 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -71,7 +71,6 @@ rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request, goto err; } /* 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, (char*)(request+2+DIGEST_LEN+asn1len), |