mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 15:42:34 +01:00
Make dh_param_* stuff static again.
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
ffbf8673b5
commit
827b85e907
1 changed files with 3 additions and 3 deletions
|
@ -42,11 +42,11 @@ crypto_dh_get_dh_(crypto_dh_t *dh)
|
||||||
#define DH_GENERATOR 2
|
#define DH_GENERATOR 2
|
||||||
|
|
||||||
/** Shared P parameter for our circuit-crypto DH key exchanges. */
|
/** 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. */
|
/** 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. */
|
/** 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
|
/** Validate a given set of Diffie-Hellman parameters. This is moderately
|
||||||
* computationally expensive (milliseconds), so should only be called when
|
* computationally expensive (milliseconds), so should only be called when
|
||||||
|
|
Loading…
Add table
Reference in a new issue