Fix overly rigorous defines in ssl_server2.c

This commit is contained in:
Paul Bakker 2014-08-18 14:36:17 +02:00
parent d153ef335f
commit bc3e54c70d

View File

@ -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 )
{ {