mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-10 21:25:30 +00:00
Fix compile warning in tests/
where result_len at tests/suites/test_suite_ccm.function:165 is potentially uninitialized using gcc-4.8.2.
This commit is contained in:
parent
edb2dc93c6
commit
63adb49062
|
@ -146,6 +146,7 @@ void ccm_auth_decrypt( int cipher_id,
|
|||
if( strcmp( "FAIL", result_hex ) == 0 )
|
||||
{
|
||||
ret = POLARSSL_ERR_CCM_AUTH_FAILED;
|
||||
result_len = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue