X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fs_server.c;h=23d2217625a3176e5b570f47be1570e2123369a7;hb=3008a7d819dfcfd4de999b2931245c41336534bc;hp=dd822de04dc7aedd5b2765c95b8c0f394275142b;hpb=b7d0d35a13ea02a1614ecede3b670fd0a48617e2;p=oweals%2Fopenssl.git diff --git a/apps/s_server.c b/apps/s_server.c index dd822de04d..23d2217625 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -284,7 +284,9 @@ static const char *session_id_prefix=NULL; static int enable_timeouts = 0; static long socket_mtu; +#ifndef OPENSSL_NO_DTLS1 static int cert_chain = 0; +#endif #ifdef MONOLITH @@ -1657,7 +1659,7 @@ static int sv_body(char *hostname, int s, unsigned char *context) } - if ( socket_mtu > 28) + if (socket_mtu > 28) { SSL_set_options(con, SSL_OP_NO_QUERY_MTU); SSL_set_mtu(con, socket_mtu - 28);