mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-08 18:54:23 +02:00
Merge pull request #10138 from XavierChapron/xch/constify-mbedtls_cipher_base_lookup_table-3.6
Constify cipher_wrap:mbedtls_cipher_base_lookup_table
This commit is contained in:
@@ -2425,7 +2425,7 @@ const mbedtls_cipher_definition_t mbedtls_cipher_definitions[] =
|
||||
sizeof(mbedtls_cipher_definitions[0]))
|
||||
int mbedtls_cipher_supported[NUM_CIPHERS];
|
||||
|
||||
const mbedtls_cipher_base_t *mbedtls_cipher_base_lookup_table[] = {
|
||||
const mbedtls_cipher_base_t * const mbedtls_cipher_base_lookup_table[] = {
|
||||
#if defined(MBEDTLS_AES_C)
|
||||
[MBEDTLS_CIPHER_BASE_INDEX_AES] = &aes_info,
|
||||
#endif
|
||||
|
||||
@@ -169,7 +169,7 @@ extern const mbedtls_cipher_definition_t mbedtls_cipher_definitions[];
|
||||
|
||||
extern int mbedtls_cipher_supported[];
|
||||
|
||||
extern const mbedtls_cipher_base_t *mbedtls_cipher_base_lookup_table[];
|
||||
extern const mbedtls_cipher_base_t * const mbedtls_cipher_base_lookup_table[];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user