Fix cipher_name_idx to be const.

This commit is contained in:
David Garske
2017-10-25 16:57:53 -07:00
parent 182028819d
commit b4d802d524

View File

@ -14978,9 +14978,8 @@ static const char* const cipher_names[] =
/* cipher suite number that matches above name table */ /* 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 #ifdef BUILD_SSL_RSA_WITH_RC4_128_SHA
SSL_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_SHA,
#endif #endif