[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Make dh_param_* stuff static again.
commit 827b85e9070950c524546adb40541c7c6d3dbcb2
Author: Fernando Fernandez Mancera <ffmancera@xxxxxxxxxx>
Date: Tue May 8 16:25:40 2018 +0200
Make dh_param_* stuff static again.
Signed-off-by: Fernando Fernandez Mancera <ffmancera@xxxxxxxxxx>
---
src/common/crypto_dh.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/common/crypto_dh.c b/src/common/crypto_dh.c
index 7e5d4c78d..625a27025 100644
--- a/src/common/crypto_dh.c
+++ b/src/common/crypto_dh.c
@@ -42,11 +42,11 @@ crypto_dh_get_dh_(crypto_dh_t *dh)
#define DH_GENERATOR 2
/** Shared P parameter for our circuit-crypto DH key exchanges. */
-BIGNUM *dh_param_p = NULL;
+static BIGNUM *dh_param_p = NULL;
/** Shared P parameter for our TLS DH key exchanges. */
-BIGNUM *dh_param_p_tls = NULL;
+static BIGNUM *dh_param_p_tls = NULL;
/** Shared G parameter for our DH key exchanges. */
-BIGNUM *dh_param_g = NULL;
+static BIGNUM *dh_param_g = NULL;
/** Validate a given set of Diffie-Hellman parameters. This is moderately
* computationally expensive (milliseconds), so should only be called when
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits