mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Merge pull request #5806 from josesimoes/fix-3031
Remove prompt to exit in all programs
This commit is contained in:
@ -3151,14 +3151,6 @@ exit:
|
||||
mbedtls_memory_buffer_alloc_free();
|
||||
#endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
|
||||
|
||||
#if defined(_WIN32)
|
||||
if( opt.query_config_mode == DFL_QUERY_CONFIG_MODE )
|
||||
{
|
||||
mbedtls_printf( " + Press Enter to exit this program.\n" );
|
||||
fflush( stdout ); getchar();
|
||||
}
|
||||
#endif
|
||||
|
||||
// Shell can not handle large exit numbers -> 1 for errors
|
||||
if( ret < 0 )
|
||||
ret = 1;
|
||||
|
Reference in New Issue
Block a user