mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 18:35:42 +01:00
Merge branch 'mbedtls-1.3' into mbedtls-1.3-restricted
This commit is contained in:
commit
575c1abda2
@ -1620,8 +1620,13 @@ reset:
|
||||
#if !defined(_WIN32)
|
||||
if( received_sigterm )
|
||||
{
|
||||
polarssl_printf( " interrupted by SIGTERM\n" );
|
||||
ret = 0;
|
||||
polarssl_printf( " interrupted by SIGTERM (not in net_accept())\n" );
|
||||
if( ret == POLARSSL_ERR_NET_RECV_FAILED ||
|
||||
ret == POLARSSL_ERR_NET_SEND_FAILED )
|
||||
{
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
@ -1653,8 +1658,10 @@ reset:
|
||||
#if !defined(_WIN32)
|
||||
if( received_sigterm )
|
||||
{
|
||||
polarssl_printf( " interrupted by signal\n" );
|
||||
ret = 0;
|
||||
polarssl_printf( " interrupted by SIGTERM (in net_accept())\n" );
|
||||
if( ret == POLARSSL_ERR_NET_ACCEPT_FAILED )
|
||||
ret = 0;
|
||||
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user