From b4d802d524dcc9642f576dbc005d16933ad2f541 Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 25 Oct 2017 16:57:53 -0700 Subject: [PATCH] Fix `cipher_name_idx` to be const. --- src/internal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index d7d2ecadc..2323e5585 100644 --- a/src/internal.c +++ b/src/internal.c @@ -14978,9 +14978,8 @@ static const char* const cipher_names[] = /* cipher suite number that matches above name table */ -static int cipher_name_idx[] = +static const int cipher_name_idx[] = { - #ifdef BUILD_SSL_RSA_WITH_RC4_128_SHA SSL_RSA_WITH_RC4_128_SHA, #endif