commit | 8b4111c51688bab133eb505a966733cde09b01ec | [log] [tgz] |
---|---|---|
author | Brian Murray <Brian@Clover.com> | Tue Sep 13 15:58:46 2016 -0700 |
committer | Simon Butcher <simon.butcher@arm.com> | Wed Oct 05 14:19:17 2016 +0100 |
tree | 833c18d31c76e899193da0d5d68687a5cdda3201 | |
parent | 72b69e380857075c3463ab9ec767e39c201b66ac [diff] [blame] |
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)