diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-05-08 16:25:40 +0200 |
---|---|---|
committer | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-05-08 16:25:40 +0200 |
commit | 827b85e9070950c524546adb40541c7c6d3dbcb2 (patch) | |
tree | 1638997b2549979f4350cf26300c6a51d52e4db3 | |
parent | ffbf8673b55e0f05bd27e9aa34f45f758941f446 (diff) | |
download | tor-827b85e9070950c524546adb40541c7c6d3dbcb2.tar.gz tor-827b85e9070950c524546adb40541c7c6d3dbcb2.zip |
Make dh_param_* stuff static again.
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
-rw-r--r-- | src/common/crypto_dh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/crypto_dh.c b/src/common/crypto_dh.c index 7e5d4c78dc..625a270254 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 |