aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_dh.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_dh.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_dh.c')
-rw-r--r--src/lib/crypt_ops/crypto_dh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_dh.c b/src/lib/crypt_ops/crypto_dh.c
index daa9842934..a2622cfc2f 100644
--- a/src/lib/crypt_ops/crypto_dh.c
+++ b/src/lib/crypt_ops/crypto_dh.c
@@ -14,6 +14,8 @@
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/crypt_ops/crypto_hkdf.h"
#include "lib/crypt_ops/crypto_util.h"
+#include "lib/log/torlog.h"
+#include "lib/log/util_bug.h"
DISABLE_GCC_WARNING(redundant-decls)
@@ -22,8 +24,7 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
#include <openssl/bn.h>
-
-#include "lib/log/torlog.h"
+#include <string.h>
/** A structure to hold the first half (x, g^x) of a Diffie-Hellman handshake
* while we're waiting for the second.*/