Add const to move variables to .rodata section

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Alexey Tsvetkov 2022-06-07 10:21:05 +03:00 committed by David Horstmann
parent 52f83dc471
commit 2ca343796d

View file

@ -4348,7 +4348,7 @@ static uint16_t ssl_preset_default_groups[] = {
MBEDTLS_SSL_IANA_TLS_GROUP_NONE
};
static int ssl_preset_suiteb_ciphersuites[] = {
static const int ssl_preset_suiteb_ciphersuites[] = {
MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
0