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:
Rich Evans 2015-02-10 12:44:07 +00:00 committed by Manuel Pégourié-Gonnard
parent edb2dc93c6
commit 63adb49062

View file

@ -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
{