Merge branch 'maint-0.2.5' into maint-0.2.8

This commit is contained in:
Nick Mathewson 2017-12-01 12:13:39 -05:00
commit f97f301b5b
2 changed files with 4 additions and 1 deletions

3
changes/bug24480 Normal file
View File

@ -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.

View File

@ -1469,7 +1469,7 @@ rend_service_receive_introduction(origin_circuit_t *circuit,
time_t now = time(NULL); time_t now = time(NULL);
time_t elapsed; time_t elapsed;
int replay; int replay;
size_t keylen; ssize_t keylen;
/* Do some initial validation and logging before we parse the cell */ /* Do some initial validation and logging before we parse the cell */
if (circuit->base_.purpose != CIRCUIT_PURPOSE_S_INTRO) { if (circuit->base_.purpose != CIRCUIT_PURPOSE_S_INTRO) {