Make dh_param_* stuff static again.

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
Fernando Fernandez Mancera 2018-05-08 16:25:40 +02:00
parent ffbf8673b5
commit 827b85e907

View File

@ -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