Merge branch 'development'

This commit is contained in:
Simon Butcher 2016-04-19 19:29:09 +01:00
commit 956420d6e6
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@
#define mbedtls_fprintf fprintf
#define mbedtls_printf printf
#define mbedtls_snprintf snprintf
#define MBEDTLS_EXIT_SUCCESS EXIT_SUCCESS
#define MBEDTLS_EXIT_FAILURE EXIT_FAILURE
#endif
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)

View File

@ -356,7 +356,7 @@ int main(int argc, const char *argv[])
if( unmet_dependencies[ i-1 ] == NULL )
{
mbedtls_printf("FATAL: Out of memory\n");
mbedtls_exit( MBEDTLS_PLATFORM_STD_EXIT_FAILURE );
mbedtls_exit( MBEDTLS_EXIT_FAILURE );
}
unmet_dep_count++;
}