From 9232f0c9c59867c19ccc18a81b56195c1fda46cf Mon Sep 17 00:00:00 2001 From: Oleg Moskalenko Date: Sun, 15 Nov 2015 15:05:29 -0800 Subject: [PATCH] more SSLv3 fixes --- src/apps/relay/ns_ioalib_engine_impl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/relay/ns_ioalib_engine_impl.c b/src/apps/relay/ns_ioalib_engine_impl.c index f88a2e7..f965025 100644 --- a/src/apps/relay/ns_ioalib_engine_impl.c +++ b/src/apps/relay/ns_ioalib_engine_impl.c @@ -1416,7 +1416,10 @@ ioa_socket_handle create_ioa_socket_from_fd(ioa_engine_handle e, static void ssl_info_callback(SSL *ssl, int where, int ret) { UNUSED_ARG(ret); + UNUSED_ARG(ssl); + UNUSED_ARG(where); +#if defined(SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS) if (0 != (where & SSL_CB_HANDSHAKE_START)) { ioa_socket_handle s = (ioa_socket_handle)SSL_get_app_data(ssl); if(s) { @@ -1432,6 +1435,7 @@ static void ssl_info_callback(SSL *ssl, int where, int ret) { } } } +#endif } typedef void (*ssl_info_callback_t)(const SSL *ssl,int type,int val);