Преглед на файлове

Merge branch 'maint-0.3.0' into maint-0.3.1

Nick Mathewson преди 7 години
родител
ревизия
5c03bb7c0c
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 3 0
      changes/bug24480
  2. 1 1
      src/or/rendservice.c

+ 3 - 0
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.

+ 1 - 1
src/or/rendservice.c

@@ -1946,7 +1946,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) {