mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 01:34:15 +01:00
Fix overly rigorous defines in ssl_server2.c
This commit is contained in:
parent
d153ef335f
commit
bc3e54c70d
@ -568,9 +568,10 @@ int psk_callback( void *p_info, ssl_context *ssl,
|
|||||||
}
|
}
|
||||||
#endif /* POLARSSL_KEY_EXCHANGE__SOME__PSK_ENABLED */
|
#endif /* POLARSSL_KEY_EXCHANGE__SOME__PSK_ENABLED */
|
||||||
|
|
||||||
#if !defined(_WIN32)
|
|
||||||
/* Interruption handler to ensure clean exit (for valgrind testing) */
|
|
||||||
static int listen_fd;
|
static int listen_fd;
|
||||||
|
|
||||||
|
/* Interruption handler to ensure clean exit (for valgrind testing) */
|
||||||
|
#if !defined(_WIN32)
|
||||||
static int received_sigterm = 0;
|
static int received_sigterm = 0;
|
||||||
void term_handler( int sig )
|
void term_handler( int sig )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user