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/rephist.h | |
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/rephist.h')
-rw-r--r-- | src/or/rephist.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h index 2b1c2e7ec7..8f6d46616d 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -62,9 +62,6 @@ int any_predicted_circuits(time_t now); int rep_hist_circbuilding_dormant(time_t now); int predicted_ports_prediction_time_remaining(time_t now); -void note_crypto_pk_op(pk_op_t operation); -void dump_pk_ops(int severity); - void rep_hist_exit_stats_init(time_t now); void rep_hist_reset_exit_stats(time_t now); void rep_hist_exit_stats_term(void); |