diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index 7437afe1b2e..308d750bc7c 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -100,7 +100,9 @@ static void InitSslContext(const Shared::Ptr& context } }); #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ +# ifdef SSL_OP_NO_RENEGOTIATION flags |= SSL_OP_NO_RENEGOTIATION; +# endif /* SSL_OP_NO_RENEGOTIATION */ #endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ SSL_CTX_set_options(sslContext, flags);