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/dirvote.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/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 11cd020d88..c65945fea7 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -306,7 +306,6 @@ format_networkstatus_vote(crypto_pk_t *private_signing_key, signing_key_fingerprint); } - note_crypto_pk_op(SIGN_DIR); { char *sig = router_get_dirobj_signature(digest, DIGEST_LEN, private_signing_key); |