[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] add a bn.h include to crypto_dh.c
commit 599b53f0469e477275d56715ded46b749f5dd06b
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
}
-
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits