diff options
Diffstat (limited to 'lib/gnutls_dh_primes.c')
-rw-r--r-- | lib/gnutls_dh_primes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_dh_primes.c b/lib/gnutls_dh_primes.c index c9a84b5a69..2dea0cd3c8 100644 --- a/lib/gnutls_dh_primes.c +++ b/lib/gnutls_dh_primes.c @@ -258,8 +258,8 @@ _gnutls_dh_params _gnutls_dh_default_params[] = { , 0} }; -const -static _gnutls_dh_params _gnutls_dh_copy_params[] = { +static const + _gnutls_dh_params _gnutls_dh_copy_params[] = { {768, NULL, NULL, {DH_G_1024, sizeof(DH_G_1024)} , {diffie_hellman_prime_1024, sizeof diffie_hellman_prime_1024} , 0} @@ -289,7 +289,7 @@ static _gnutls_dh_params _gnutls_dh_copy_params[] = { * number of bits. Ie a number of bits that we have a prime in the * dh_primes structure. */ -static int supported_bits[] = { 768, 1024, 2048, 3072, 4096, 0 }; +static const int supported_bits[] = { 768, 1024, 2048, 3072, 4096, 0 }; static int normalize_bits(int bits) { if (bits >= 4096) |