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