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/rendclient.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/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 3d160bdc35..441c371bac 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -286,7 +286,6 @@ rend_client_send_introduction(origin_circuit_t *introcirc, goto perm_err; } - note_crypto_pk_op(REND_CLIENT); /*XXX maybe give crypto_pk_public_hybrid_encrypt a max_len arg, * to avoid buffer overflows? */ r = crypto_pk_public_hybrid_encrypt(intro_key, payload+DIGEST_LEN, |