mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Move the non-crypto parts of onion.c out of src/core/crypto
The parts for handling cell formats should be in src/core/or. The parts for handling onionskin queues should be in src/core/or. Only the crypto wrapper belongs in src/core/crypto.
This commit is contained in:
+2
-2
@@ -11,7 +11,6 @@
|
||||
#include "orconfig.h"
|
||||
#include "lib/crypt_ops/crypto_dh.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
|
||||
#include "app/config/or_state_st.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -49,7 +48,7 @@
|
||||
#include "test/test.h"
|
||||
#include "core/mainloop/main.h"
|
||||
#include "lib/memarea/memarea.h"
|
||||
#include "core/crypto/onion.h"
|
||||
#include "core/or/onion.h"
|
||||
#include "core/crypto/onion_ntor.h"
|
||||
#include "core/crypto/onion_fast.h"
|
||||
#include "core/crypto/onion_tap.h"
|
||||
@@ -64,6 +63,7 @@
|
||||
#include "feature/rend/rend_encoded_v2_service_descriptor_st.h"
|
||||
#include "feature/rend/rend_intro_point_st.h"
|
||||
#include "feature/rend/rend_service_descriptor_st.h"
|
||||
#include "feature/relay/onion_queue.h"
|
||||
|
||||
/** Run unit tests for the onion handshake code. */
|
||||
static void
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "core/or/connection_or.h"
|
||||
#include "app/config/config.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
#include "core/crypto/onion.h"
|
||||
#include "core/or/onion.h"
|
||||
#include "core/crypto/onion_tap.h"
|
||||
#include "core/crypto/onion_fast.h"
|
||||
#include "core/crypto/onion_ntor.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "core/or/or.h"
|
||||
#include "lib/thread/threads.h"
|
||||
#include "core/crypto/onion.h"
|
||||
#include "core/or/onion.h"
|
||||
#include "lib/evloop/workqueue.h"
|
||||
#include "lib/crypt_ops/crypto_curve25519.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
|
||||
Reference in New Issue
Block a user