Fix compile fail for empty enum in cipher_wrap
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
a797f152ee
commit
0b7bf876e4
1 changed files with 3 additions and 1 deletions
|
@ -120,8 +120,10 @@ enum mbedtls_cipher_base_index {
|
|||
MBEDTLS_CIPHER_BASE_INDEX_NULL_BASE,
|
||||
#endif
|
||||
#if defined(MBEDTLS_CIPHER_MODE_XTS) && defined(MBEDTLS_AES_C)
|
||||
MBEDTLS_CIPHER_BASE_INDEX_XTS_AES
|
||||
MBEDTLS_CIPHER_BASE_INDEX_XTS_AES,
|
||||
#endif
|
||||
/* Prevent compile failure due to empty enum */
|
||||
MBEDTLS_PREVENT_EMPTY_ENUM
|
||||
};
|
||||
|
||||
#if defined(MBEDTLS_GCM_C)
|
||||
|
|
Loading…
Reference in a new issue