Merge pull request #5806 from josesimoes/fix-3031

Remove prompt to exit in all programs
This commit is contained in:
Manuel Pégourié-Gonnard
2022-05-12 10:50:31 +02:00
committed by GitHub
42 changed files with 0 additions and 212 deletions

View File

@@ -1280,11 +1280,6 @@ int main( int argc, char *argv[] )
mbedtls_memory_buffer_alloc_free();
#endif
#if defined(_WIN32)
mbedtls_printf( " Press Enter to exit this program.\n" );
fflush( stdout ); getchar();
#endif
mbedtls_exit( 0 );
}

View File

@@ -537,10 +537,6 @@ int main( int argc, char *argv[] )
{
mbedtls_printf( " [ All tests PASS ]\n\n" );
}
#if defined(_WIN32)
mbedtls_printf( " Press Enter to exit this program.\n" );
fflush( stdout ); getchar();
#endif
}
if( suites_failed > 0)

View File

@@ -1015,11 +1015,6 @@ exit:
mbedtls_net_free( &server_fd );
mbedtls_net_free( &listen_fd );
#if defined(_WIN32)
mbedtls_printf( " Press Enter to exit this program.\n" );
fflush( stdout ); getchar();
#endif
mbedtls_exit( exit_code );
}