From 827b85e9070950c524546adb40541c7c6d3dbcb2 Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Tue, 8 May 2018 16:25:40 +0200 Subject: Make dh_param_* stuff static again. Signed-off-by: Fernando Fernandez Mancera --- 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 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 -- cgit v1.2.3-54-g00ecf