mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-05 21:54:41 +02:00
Merge pull request #1197 from dgarske/fix_const
Fix `cipher_name_idx` to be const.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user