aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 13:57:23 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 14:40:25 -0400
commita742a826f6fe4eafef047c4dd7ca7fa899d2f823 (patch)
tree7c83b2c177eeac4630736ed010266e6bcd36ebb3 /src/lib/crypt_ops/crypto_util.c
parent0f02d2c0411448668d2dfe11b61e1ea72ee7a3b2 (diff)
downloadtor-a742a826f6fe4eafef047c4dd7ca7fa899d2f823.tar.gz
tor-a742a826f6fe4eafef047c4dd7ca7fa899d2f823.zip
Remove all include common/ uses in crypto_ops and tls.
Diffstat (limited to 'src/lib/crypt_ops/crypto_util.c')
-rw-r--r--src/lib/crypt_ops/crypto_util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/crypt_ops/crypto_util.c b/src/lib/crypt_ops/crypto_util.c
index db88805a78..19b0885256 100644
--- a/src/lib/crypt_ops/crypto_util.c
+++ b/src/lib/crypt_ops/crypto_util.c
@@ -14,6 +14,7 @@
#define CRYPTO_UTIL_PRIVATE
#include "lib/crypt_ops/crypto_util.h"
+#include "lib/cc/compat_compiler.h"
#include <string.h>
@@ -23,8 +24,6 @@
#include <wincrypt.h>
#endif /* defined(_WIN32) */
-#include "common/util.h"
-
DISABLE_GCC_WARNING(redundant-decls)
#include <openssl/err.h>
@@ -33,6 +32,7 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
#include "lib/log/torlog.h"
+#include "lib/log/util_bug.h"
/**
* Destroy the <b>sz</b> bytes of data stored at <b>mem</b>, setting them to
@@ -127,4 +127,3 @@ crypto_log_errors(int severity, const char *doing)
}
}
#endif /* !defined(CRYPTO_UTIL_PRIVATE) */
-