summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 11:39:49 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 11:39:49 -0400
commit48ebd9bf76a0e5ff60b88f8906919016de82e819 (patch)
tree76047a0a4227be696a54987d7d6f4430ec4597e3 /src/or
parentaa3edfd2053bb418907f204e171ae8f7e78c30eb (diff)
downloadtor-48ebd9bf76a0e5ff60b88f8906919016de82e819.tar.gz
tor-48ebd9bf76a0e5ff60b88f8906919016de82e819.zip
Move weakrng into lib/intmath
Diffstat (limited to 'src/or')
-rw-r--r--src/or/cpuworker.c2
-rw-r--r--src/or/relay.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 24a75b16df..6750790205 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -33,6 +33,7 @@
#include "common/workqueue.h"
#include "or/or_circuit_st.h"
+#include "lib/intmath/weakrng.h"
static void queue_pending_tasks(void);
@@ -596,4 +597,3 @@ cpuworker_cancel_circ_handshake(or_circuit_t *circ)
circ->workqueue_entry = NULL;
}
}
-
diff --git a/src/or/relay.c b/src/or/relay.c
index 85b5cf7aa6..9ff3d96c11 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -94,6 +94,8 @@
#include "or/routerinfo_st.h"
#include "or/socks_request_st.h"
+#include "lib/intmath/weakrng.h"
+
static edge_connection_t *relay_lookup_conn(circuit_t *circ, cell_t *cell,
cell_direction_t cell_direction,
crypt_path_t *layer_hint);
@@ -3084,4 +3086,3 @@ circuit_queue_streams_are_blocked(circuit_t *circ)
return circ->streams_blocked_on_p_chan;
}
}
-