diff options
Diffstat (limited to 'src/lib/crypt_ops/crypto_dh.c')
-rw-r--r-- | src/lib/crypt_ops/crypto_dh.c | 5 |
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.*/ |