Commit 85d3c2fb authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

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
parent 1d67f3fc
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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