aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-01 12:13:40 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-01 12:13:40 -0500
commit3bca705c544bd56ade5a25022b51d395f038444f (patch)
treec4854219b325fcf1f6ed5c377ffb89de3f348dee
parent6e3ec8222c6b2b3eec332ef3b5d3b0eac0c00ce5 (diff)
parent953a8f851081e6157e9296186c296ab10106b7eb (diff)
downloadtor-3bca705c544bd56ade5a25022b51d395f038444f.tar.gz
tor-3bca705c544bd56ade5a25022b51d395f038444f.zip
Merge branch 'maint-0.2.9' into maint-0.3.0
-rw-r--r--changes/bug244803
-rw-r--r--src/or/rendservice.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug24480 b/changes/bug24480
new file mode 100644
index 0000000000..94e5b91a0c
--- /dev/null
+++ b/changes/bug24480
@@ -0,0 +1,3 @@
+ o Minor bugfixes (compilation):
+ - Fix a signed/unsigned comparison warning introduced by our
+ fix to TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 67a94f7021..ec39e3b80e 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1879,7 +1879,7 @@ rend_service_receive_introduction(origin_circuit_t *circuit,
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) {