Fix overly rigorous defines in ssl_server2.c
This commit is contained in:
parent
d153ef335f
commit
bc3e54c70d
1 changed files with 3 additions and 2 deletions
|
@ -568,9 +568,10 @@ int psk_callback( void *p_info, ssl_context *ssl,
|
|||
}
|
||||
#endif /* POLARSSL_KEY_EXCHANGE__SOME__PSK_ENABLED */
|
||||
|
||||
#if !defined(_WIN32)
|
||||
/* Interruption handler to ensure clean exit (for valgrind testing) */
|
||||
static int listen_fd;
|
||||
|
||||
/* Interruption handler to ensure clean exit (for valgrind testing) */
|
||||
#if !defined(_WIN32)
|
||||
static int received_sigterm = 0;
|
||||
void term_handler( int sig )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue