mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 03:35:49 +01:00
Work around for GCC bug
This commit is contained in:
parent
ee75b9b417
commit
2fab5c9605
@ -765,7 +765,7 @@ static int cmac_test_subkeys( int verbose,
|
|||||||
int block_size,
|
int block_size,
|
||||||
int num_tests )
|
int num_tests )
|
||||||
{
|
{
|
||||||
int i, ret;
|
int i, ret = 0;
|
||||||
mbedtls_cipher_context_t ctx;
|
mbedtls_cipher_context_t ctx;
|
||||||
const mbedtls_cipher_info_t *cipher_info;
|
const mbedtls_cipher_info_t *cipher_info;
|
||||||
unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX];
|
unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX];
|
||||||
@ -847,7 +847,7 @@ static int cmac_test_wth_cipher( int verbose,
|
|||||||
int num_tests )
|
int num_tests )
|
||||||
{
|
{
|
||||||
const mbedtls_cipher_info_t *cipher_info;
|
const mbedtls_cipher_info_t *cipher_info;
|
||||||
int i, ret;
|
int i, ret = 0;
|
||||||
unsigned char output[MBEDTLS_CIPHER_BLKSIZE_MAX];
|
unsigned char output[MBEDTLS_CIPHER_BLKSIZE_MAX];
|
||||||
|
|
||||||
cipher_info = mbedtls_cipher_info_from_type( cipher_type );
|
cipher_info = mbedtls_cipher_info_from_type( cipher_type );
|
||||||
|
Loading…
Reference in New Issue
Block a user