[tor-commits] [tor/master] add a bn.h include to crypto_dh.c
nickm at torproject.org
nickm at torproject.org
Thu Jun 21 12:34:31 UTC 2018
commit 599b53f0469e477275d56715ded46b749f5dd06b
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Jun 21 08:34:27 2018 -0400
add a bn.h include to crypto_dh.c
---
src/common/crypto_dh.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/common/crypto_dh.c b/src/common/crypto_dh.c
index 4c6b03cee..a9bd348ff 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;
}
-
More information about the tor-commits
mailing list