From 63adb490625f3fd964760c8d5ac3c7e249e436c2 Mon Sep 17 00:00:00 2001 From: Rich Evans Date: Tue, 10 Feb 2015 12:44:07 +0000 Subject: [PATCH] Fix compile warning in tests/ where result_len at tests/suites/test_suite_ccm.function:165 is potentially uninitialized using gcc-4.8.2. --- tests/suites/test_suite_ccm.function | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/suites/test_suite_ccm.function b/tests/suites/test_suite_ccm.function index f597c6914..d8ca4f5d1 100644 --- a/tests/suites/test_suite_ccm.function +++ b/tests/suites/test_suite_ccm.function @@ -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 {