commit | 7b07e0e4b4a9b6c8585f2992b5d7943f48d9cc98 | [log] [tgz] |
---|---|---|
author | Brian Murray <Brian@Clover.com> | Tue Sep 13 15:58:46 2016 -0700 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Oct 13 13:51:11 2016 +0100 |
tree | 0dc7744ed97064e3bc4f03c681fe4c1d9e3f4cd0 | |
parent | 5168618294119c0db8aa583fcf8e38906858b84e [diff] |
Fix build failure for thread config
diff --git a/programs/test/selftest.c b/programs/test/selftest.c index 74eed59..33f96ea 100644 --- a/programs/test/selftest.c +++ b/programs/test/selftest.c
@@ -279,8 +279,11 @@ #endif #if defined(MBEDTLS_CMAC_C) && ( defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) ) - if( ( ret = mbedtls_cmac_self_test( v ) ) != 0 ) - return( ret ); + if( ( mbedtls_cmac_self_test( v ) ) != 0 ) + { + suites_failed++; + } + suites_tested++; #endif #if defined(MBEDTLS_BASE64_C)