Browse Source

r11702@catbus: nickm | 2007-02-08 02:10:19 -0500
Wow. Remember when I wrote that script to tell me about macros that were never used? Good times.


svn:r9525

Nick Mathewson 17 years ago
parent
commit
85d3c2fbaf
3 changed files with 1 additions and 9 deletions
  1. 0 3
      src/or/circuitbuild.c
  2. 0 5
      src/or/connection_or.c
  3. 1 1
      src/or/control.c

+ 0 - 3
src/or/circuitbuild.c

@@ -1973,9 +1973,6 @@ control_event_guard_deferred(void)
 #endif
 }
 
-/* DOCDOC */
-#define NUM_ENTRY_PICK_TRIES 100
-
 /** Add a new (preferably stable and fast) router to our
  * entry_guards list. Return a pointer to the router if we succeed,
  * or NULL if we can't find any more suitable entries.

+ 0 - 5
src/or/connection_or.c

@@ -14,11 +14,6 @@ const char connection_or_c_id[] =
 
 #include "or.h"
 
-/** How much clock skew do we tolerate when checking certificates for
- * known routers? (sec) */
-
-#define TIGHT_CERT_ALLOW_SKEW (90*60)
-
 static int connection_tls_finish_handshake(or_connection_t *conn);
 static int connection_or_process_cells_from_inbuf(or_connection_t *conn);
 static int connection_or_empty_enough_for_dirserv_data(or_connection_t *conn);

+ 1 - 1
src/or/control.c

@@ -59,7 +59,7 @@ const char control_c_id[] =
 #define ERR_UNRECOGNIZED_EVENT_CODE 0x0006
 #define ERR_UNAUTHORIZED            0x0007
 #define ERR_REJECTED_AUTHENTICATION 0x0008
-#define ERR_RESOURCE_EXHAUSETED     0x0009
+#define ERR_RESOURCE_EXHAUSTED      0x0009
 #define ERR_NO_STREAM               0x000A
 #define ERR_NO_CIRC                 0x000B
 #define ERR_NO_ROUTER               0x000C