mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
Normalize .may_include to always have paths, and paths to include
This commit is contained in:
parent
c0a7527eb8
commit
e429e31ad1
@ -7,9 +7,9 @@ lib/malloc/*.h
|
|||||||
lib/err/*.h
|
lib/err/*.h
|
||||||
lib/smartlist_core/*.h
|
lib/smartlist_core/*.h
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
lib/testsupport/testsupport.h
|
lib/testsupport/*.h
|
||||||
lib/intmath/*.h
|
lib/intmath/*.h
|
||||||
lib/log/*.h
|
lib/log/*.h
|
||||||
|
|
||||||
ht.h
|
ext/ht.h
|
||||||
siphash.h
|
ext/siphash.h
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "lib/container/bloomfilt.h"
|
#include "lib/container/bloomfilt.h"
|
||||||
#include "lib/intmath/bits.h"
|
#include "lib/intmath/bits.h"
|
||||||
#include "lib/log/util_bug.h"
|
#include "lib/log/util_bug.h"
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
|
|
||||||
/** How many bloom-filter bits we set per address. This is twice the
|
/** How many bloom-filter bits we set per address. This is twice the
|
||||||
* BLOOMFILT_N_HASHES value, since we split the siphash output into two 32-bit
|
* BLOOMFILT_N_HASHES value, since we split the siphash output into two 32-bit
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "ht.h"
|
#include "ext/ht.h"
|
||||||
|
|
||||||
/** Helper: Declare an entry type and a map type to implement a mapping using
|
/** Helper: Declare an entry type and a map type to implement a mapping using
|
||||||
* ht.h. The map type will be called <b>maptype</b>. The key part of each
|
* ht.h. The map type will be called <b>maptype</b>. The key part of each
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "lib/testsupport/testsupport.h"
|
#include "lib/testsupport/testsupport.h"
|
||||||
#include "lib/cc/torint.h"
|
#include "lib/cc/torint.h"
|
||||||
|
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
|
|
||||||
#define DECLARE_MAP_FNS(maptype, keytype, prefix) \
|
#define DECLARE_MAP_FNS(maptype, keytype, prefix) \
|
||||||
typedef struct maptype maptype; \
|
typedef struct maptype maptype; \
|
||||||
|
@ -13,7 +13,7 @@ lib/intmath/*.h
|
|||||||
lib/sandbox/*.h
|
lib/sandbox/*.h
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
lib/subsys/*.h
|
lib/subsys/*.h
|
||||||
lib/testsupport/testsupport.h
|
lib/testsupport/*.h
|
||||||
lib/thread/*.h
|
lib/thread/*.h
|
||||||
lib/log/*.h
|
lib/log/*.h
|
||||||
|
|
||||||
@ -22,4 +22,4 @@ trunnel/pwbox.h
|
|||||||
keccak-tiny/*.h
|
keccak-tiny/*.h
|
||||||
ed25519/*.h
|
ed25519/*.h
|
||||||
|
|
||||||
siphash.h
|
ext/siphash.h
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "lib/subsys/subsys.h"
|
#include "lib/subsys/subsys.h"
|
||||||
|
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
|
|
||||||
/** Boolean: has our crypto library been initialized? (early phase) */
|
/** Boolean: has our crypto library been initialized? (early phase) */
|
||||||
static int crypto_early_initialized_ = 0;
|
static int crypto_early_initialized_ = 0;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "lib/crypt_ops/crypto_rand.h"
|
#include "lib/crypt_ops/crypto_rand.h"
|
||||||
#include "lib/defs/digest_sizes.h"
|
#include "lib/defs/digest_sizes.h"
|
||||||
#include "lib/crypt_ops/digestset.h"
|
#include "lib/crypt_ops/digestset.h"
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
|
|
||||||
/* Wrap our hash function to have the signature that the bloom filter
|
/* Wrap our hash function to have the signature that the bloom filter
|
||||||
* needs. */
|
* needs. */
|
||||||
|
@ -12,5 +12,5 @@ lib/testsupport/*.h
|
|||||||
lib/thread/*.h
|
lib/thread/*.h
|
||||||
lib/time/*.h
|
lib/time/*.h
|
||||||
|
|
||||||
src/ext/timeouts/timeout.c
|
ext/timeouts/timeout.c
|
||||||
tor_queue.h
|
ext/tor_queue.h
|
@ -80,7 +80,8 @@ struct timeout_cb {
|
|||||||
* use 32-bit math. */
|
* use 32-bit math. */
|
||||||
#define WHEEL_BIT 5
|
#define WHEEL_BIT 5
|
||||||
#endif
|
#endif
|
||||||
#include "src/ext/timeouts/timeout.c"
|
|
||||||
|
#include "ext/timeouts/timeout.c"
|
||||||
|
|
||||||
static struct timeouts *global_timeouts = NULL;
|
static struct timeouts *global_timeouts = NULL;
|
||||||
static struct mainloop_event_t *global_timer_event = NULL;
|
static struct mainloop_event_t *global_timer_event = NULL;
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include "lib/net/socket.h"
|
#include "lib/net/socket.h"
|
||||||
#include "lib/thread/threads.h"
|
#include "lib/thread/threads.h"
|
||||||
|
|
||||||
#include "tor_queue.h"
|
#include "ext/tor_queue.h"
|
||||||
#include <event2/event.h>
|
#include <event2/event.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -13,4 +13,4 @@ lib/malloc/*.h
|
|||||||
lib/memarea/*.h
|
lib/memarea/*.h
|
||||||
lib/sandbox/*.h
|
lib/sandbox/*.h
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
lib/testsupport/testsupport.h
|
lib/testsupport/*.h
|
||||||
|
@ -3,4 +3,4 @@ orconfig.h
|
|||||||
lib/cc/*.h
|
lib/cc/*.h
|
||||||
lib/err/*.h
|
lib/err/*.h
|
||||||
lib/malloc/*.h
|
lib/malloc/*.h
|
||||||
lib/testsupport/testsupport.h
|
lib/testsupport/*.h
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
orconfig.h
|
orconfig.h
|
||||||
siphash.h
|
ext/siphash.h
|
||||||
ht.h
|
ext/ht.h
|
||||||
|
|
||||||
lib/arch/*.h
|
lib/arch/*.h
|
||||||
lib/buf/*.h
|
lib/buf/*.h
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
#include "lib/string/printf.h"
|
#include "lib/string/printf.h"
|
||||||
#include "lib/string/util_string.h"
|
#include "lib/string/util_string.h"
|
||||||
|
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
#include "lib/string/parse_int.h"
|
#include "lib/string/parse_int.h"
|
||||||
#include "lib/string/util_string.h"
|
#include "lib/string/util_string.h"
|
||||||
|
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
#include "ht.h"
|
#include "ext/ht.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -15,4 +15,4 @@ lib/subsys/*.h
|
|||||||
lib/testsupport/*.h
|
lib/testsupport/*.h
|
||||||
lib/thread/*.h
|
lib/thread/*.h
|
||||||
|
|
||||||
ht.h
|
ext/ht.h
|
@ -16,7 +16,7 @@
|
|||||||
#include "lib/log/log.h"
|
#include "lib/log/log.h"
|
||||||
#include "lib/log/util_bug.h"
|
#include "lib/log/util_bug.h"
|
||||||
#include "lib/malloc/malloc.h"
|
#include "lib/malloc/malloc.h"
|
||||||
#include "ht.h"
|
#include "ext/ht.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_WAIT_H
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
@ -9,6 +9,6 @@ lib/sandbox/*.h
|
|||||||
lib/sandbox/*.inc
|
lib/sandbox/*.inc
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
|
|
||||||
ht.h
|
ext/ht.h
|
||||||
siphash.h
|
ext/siphash.h
|
||||||
tor_queue.h
|
ext/tor_queue.h
|
||||||
|
@ -41,9 +41,9 @@
|
|||||||
#include "lib/malloc/malloc.h"
|
#include "lib/malloc/malloc.h"
|
||||||
#include "lib/string/scanf.h"
|
#include "lib/string/scanf.h"
|
||||||
|
|
||||||
#include "tor_queue.h"
|
#include "ext/tor_queue.h"
|
||||||
#include "ht.h"
|
#include "ext/ht.h"
|
||||||
#include "siphash.h"
|
#include "ext/siphash.h"
|
||||||
|
|
||||||
#define DEBUGGING_CLOSE
|
#define DEBUGGING_CLOSE
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@ lib/malloc/*.h
|
|||||||
lib/err/*.h
|
lib/err/*.h
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
lib/smartlist_core/*.h
|
lib/smartlist_core/*.h
|
||||||
lib/testsupport/testsupport.h
|
lib/testsupport/*.h
|
||||||
|
@ -6,5 +6,5 @@ lib/malloc/*.h
|
|||||||
lib/ctime/*.h
|
lib/ctime/*.h
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
|
|
||||||
strlcat.c
|
ext/strlcat.c
|
||||||
strlcpy.c
|
ext/strlcpy.c
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
/* Inline the strl functions if the platform doesn't have them. */
|
/* Inline the strl functions if the platform doesn't have them. */
|
||||||
#ifndef HAVE_STRLCPY
|
#ifndef HAVE_STRLCPY
|
||||||
#include "strlcpy.c"
|
#include "ext/strlcpy.c"
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_STRLCAT
|
#ifndef HAVE_STRLCAT
|
||||||
#include "strlcat.c"
|
#include "ext/strlcat.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -5,5 +5,4 @@ lib/log/*.h
|
|||||||
lib/term/*.h
|
lib/term/*.h
|
||||||
lib/malloc/*.h
|
lib/malloc/*.h
|
||||||
|
|
||||||
# From src/ext
|
ext/tor_readpassphrase.h
|
||||||
tor_readpassphrase.h
|
|
||||||
|
@ -36,7 +36,7 @@ SecureZeroMemory(PVOID ptr, SIZE_T cnt)
|
|||||||
#elif defined(HAVE_READPASSPHRASE_H)
|
#elif defined(HAVE_READPASSPHRASE_H)
|
||||||
#include <readpassphrase.h>
|
#include <readpassphrase.h>
|
||||||
#else
|
#else
|
||||||
#include "tor_readpassphrase.h"
|
#include "ext/tor_readpassphrase.h"
|
||||||
#endif /* defined(_WIN32) || ... */
|
#endif /* defined(_WIN32) || ... */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -13,7 +13,6 @@ lib/malloc/*.h
|
|||||||
lib/net/*.h
|
lib/net/*.h
|
||||||
lib/string/*.h
|
lib/string/*.h
|
||||||
lib/subsys/*.h
|
lib/subsys/*.h
|
||||||
lib/testsupport/testsupport.h
|
lib/testsupport/*.h
|
||||||
lib/tls/*.h
|
lib/tls/*.h
|
||||||
|
lib/tls/*.inc
|
||||||
ciphers.inc
|
|
||||||
|
@ -461,7 +461,7 @@ static const char UNRESTRICTED_SERVER_CIPHER_LIST[] =
|
|||||||
/** List of ciphers that clients should advertise, omitting items that
|
/** List of ciphers that clients should advertise, omitting items that
|
||||||
* our OpenSSL doesn't know about. */
|
* our OpenSSL doesn't know about. */
|
||||||
static const char CLIENT_CIPHER_LIST[] =
|
static const char CLIENT_CIPHER_LIST[] =
|
||||||
#include "ciphers.inc"
|
#include "lib/tls/ciphers.inc"
|
||||||
/* Tell it not to use SSLv2 ciphers, so that it can select an SSLv3 version
|
/* Tell it not to use SSLv2 ciphers, so that it can select an SSLv3 version
|
||||||
* of any cipher we say. */
|
* of any cipher we say. */
|
||||||
"!SSLv2"
|
"!SSLv2"
|
||||||
|
Loading…
Reference in New Issue
Block a user