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
commit 9bc53a2e84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 );
}