aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/crypto_dh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/crypto_dh.c b/src/common/crypto_dh.c
index 4c6b03cee8..a9bd348ff4 100644
--- a/src/common/crypto_dh.c
+++ b/src/common/crypto_dh.c
@@ -21,6 +21,8 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
+#include <openssl/bn.h>
+
#include "common/torlog.h"
/** A structure to hold the first half (x, g^x) of a Diffie-Hellman handshake
@@ -506,4 +508,3 @@ crypto_dh_free_all(void)
dh_param_p = dh_param_p_tls = dh_param_g = NULL;
}
-