diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-21 08:34:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-21 08:34:27 -0400 |
commit | 599b53f0469e477275d56715ded46b749f5dd06b (patch) | |
tree | 1ed5015b5fdb1f31702807af98dacdd03fa74b70 | |
parent | bfbeb55469b2fa59f7488acf64f2b300a7bac0fe (diff) | |
download | tor-599b53f0469e477275d56715ded46b749f5dd06b.tar.gz tor-599b53f0469e477275d56715ded46b749f5dd06b.zip |
add a bn.h include to crypto_dh.c
-rw-r--r-- | src/common/crypto_dh.c | 3 |
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; } - |