summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/library/cmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/mbedtls/library/cmac.c')
-rw-r--r--thirdparty/mbedtls/library/cmac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/mbedtls/library/cmac.c b/thirdparty/mbedtls/library/cmac.c
index 4d7a1f1693..5d101e1c7d 100644
--- a/thirdparty/mbedtls/library/cmac.c
+++ b/thirdparty/mbedtls/library/cmac.c
@@ -828,6 +828,7 @@ static int cmac_test_subkeys( int verbose,
mbedtls_cipher_free( &ctx );
}
+ ret = 0;
goto exit;
cleanup:
@@ -883,6 +884,7 @@ static int cmac_test_wth_cipher( int verbose,
if( verbose != 0 )
mbedtls_printf( "passed\n" );
}
+ ret = 0;
exit:
return( ret );