mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 02:04:14 +01:00
Merge branch 'mbedtls-2.1' into mbedtls-2.1-restricted
This commit is contained in:
commit
e34e324017
@ -1989,8 +1989,10 @@ reset:
|
||||
#if !defined(_WIN32)
|
||||
if( received_sigterm )
|
||||
{
|
||||
mbedtls_printf( " interrupted by SIGTERM\n" );
|
||||
ret = 0;
|
||||
mbedtls_printf( " interrupted by SIGTERM (not in net_accept())\n" );
|
||||
if( ret == MBEDTLS_ERR_NET_INVALID_CONTEXT )
|
||||
ret = 0;
|
||||
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
@ -2026,8 +2028,10 @@ reset:
|
||||
#if !defined(_WIN32)
|
||||
if( received_sigterm )
|
||||
{
|
||||
mbedtls_printf( " interrupted by signal\n" );
|
||||
ret = 0;
|
||||
mbedtls_printf( " interrupted by SIGTERM (in net_accept())\n" );
|
||||
if( ret == MBEDTLS_ERR_NET_ACCEPT_FAILED )
|
||||
ret = 0;
|
||||
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user