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.
This commit is contained in:
Isis Lovecruft
2017-07-13 19:31:13 +00:00
parent 3aba8490ba
commit c59ba01550
12 changed files with 4 additions and 117 deletions
+4
View File
@@ -0,0 +1,4 @@
o Code refactoring:
- Remove dead code for largely unused statistics on the number of
times we've attempted various public key operations. Fixes bug
19871; fix by Isis Lovecruft. Bugfix on 0.1.2.4-alpha.