aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-02-15 15:33:34 -0500
committerNick Mathewson <nickm@torproject.org>2014-02-15 15:33:34 -0500
commitb3a69074933492080629d45b1c890606aa2bd08a (patch)
tree53f4929f0c1e19ed7ff9022ac194defe8ce78f25 /src/or/rendservice.c
parent67749475f56532235602e0c8d1a9a59a68d816c3 (diff)
downloadtor-b3a69074933492080629d45b1c890606aa2bd08a.tar
tor-b3a69074933492080629d45b1c890606aa2bd08a.tar.gz
Remove a bunch of functions that were never called.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index cb2f96299..500efaf20 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1503,27 +1503,6 @@ find_rp_for_intro(const rend_intro_cell_t *intro,
return rp;
}
-/** Remove unnecessary parts from a rend_intro_cell_t - the ciphertext if
- * already decrypted, the plaintext too if already parsed
- */
-
-void
-rend_service_compact_intro(rend_intro_cell_t *request)
-{
- if (!request) return;
-
- if ((request->plaintext && request->plaintext_len > 0) ||
- request->parsed) {
- tor_free(request->ciphertext);
- request->ciphertext_len = 0;
- }
-
- if (request->parsed) {
- tor_free(request->plaintext);
- request->plaintext_len = 0;
- }
-}
-
/** Free a parsed INTRODUCE1 or INTRODUCE2 cell that was allocated by
* rend_service_parse_intro().
*/