aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-01 12:13:15 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-01 12:13:15 -0500
commit461e34bb3dec0f4f7234584806a224040f44c7ed (patch)
treeeb4e5b11901b548149acb3577f01e16621313756 /src/or/rendservice.c
parent162a087e5feb1205e3cefb7b1ab12ad0c0d2e041 (diff)
downloadtor-461e34bb3dec0f4f7234584806a224040f44c7ed.tar.gz
tor-461e34bb3dec0f4f7234584806a224040f44c7ed.zip
Fix a clang compilation warning in rendservice.c
Fixes bug 24480; bugfix on 0.2.5.16.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index ba8891eade..80e1e10a05 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1162,7 +1162,7 @@ rend_service_introduce(origin_circuit_t *circuit, const uint8_t *request,
time_t now = time(NULL);
time_t elapsed;
int replay;
- size_t keylen;
+ ssize_t keylen;
/* Do some initial validation and logging before we parse the cell */
if (circuit->base_.purpose != CIRCUIT_PURPOSE_S_INTRO) {