1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge pull request #2595 from k-stachowiak/unified-exit-in-examples

Unify the example programs' termination
This commit is contained in:
Gilles Peskine
2020-05-12 10:46:47 +02:00
committed by GitHub
49 changed files with 122 additions and 114 deletions

View File

@@ -38,7 +38,7 @@
int main( void )
{
mbedtls_printf("MBEDTLS_TIMING_C not defined.\n");
return( 0 );
mbedtls_exit( 0 );
}
#else
@@ -1065,7 +1065,7 @@ int main( int argc, char *argv[] )
fflush( stdout ); getchar();
#endif
return( 0 );
mbedtls_exit( 0 );
}
#endif /* MBEDTLS_TIMING_C */