mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
refactor: Remove unnecessary #include "crypto.h" throughout codebase.
* FIXES part of #24658: https://bugs.torproject.org/24658
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#endif
|
||||
|
||||
#include <openssl/opensslv.h>
|
||||
#include "crypto.h"
|
||||
#include "crypto_openssl_mgt.h"
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < OPENSSL_V_SERIES(1,0,0)
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include "container.h"
|
||||
#include "crypto.h"
|
||||
#include "crypto_curve25519.h"
|
||||
#include "crypto_digest.h"
|
||||
#include "crypto_format.h"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#include "crypto.h"
|
||||
#include "crypto_curve25519.h"
|
||||
#include "crypto_digest.h"
|
||||
#include "crypto_ed25519.h"
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include "container.h"
|
||||
#include "crypto.h"
|
||||
#include "crypto_curve25519.h"
|
||||
#include "crypto_digest.h"
|
||||
#include "crypto_ed25519.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Added for Tor. */
|
||||
#include "crypto.h"
|
||||
#include "crypto_rand.h"
|
||||
#define randombytes(b, n) \
|
||||
(crypto_strongest_rand((b), (n)), 0)
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "crypto.h"
|
||||
#include "crypto_ed25519.h"
|
||||
#include "hs_common.h"
|
||||
#include "hs_descriptor.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#define TOR_HS_CIRCUIT_H
|
||||
|
||||
#include "or.h"
|
||||
#include "crypto.h"
|
||||
#include "crypto_ed25519.h"
|
||||
|
||||
#include "hs_service.h"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#ifndef TOR_HS_IDENT_H
|
||||
#define TOR_HS_IDENT_H
|
||||
|
||||
#include "crypto.h"
|
||||
#include "crypto_ed25519.h"
|
||||
|
||||
#include "hs_common.h"
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#include "orconfig.h"
|
||||
#define DIRVOTE_PRIVATE
|
||||
#include "crypto.h"
|
||||
#include "test.h"
|
||||
#include "container.h"
|
||||
#include "or.h"
|
||||
|
||||
Reference in New Issue
Block a user