commit 599b53f0469e477275d56715ded46b749f5dd06b
parent bfbeb55469b2fa59f7488acf64f2b300a7bac0fe
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 21 Jun 2018 08:34:27 -0400
add a bn.h include to crypto_dh.c
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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;
}
-