From dc2e2b3e293a8374a2627982b521cc6865129c49 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 9 Jan 2023 13:15:18 +0100 Subject: Separated out websocket --- https.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'https.h') diff --git a/https.h b/https.h index 8d4b426..2a1caa8 100644 --- a/https.h +++ b/https.h @@ -3,20 +3,13 @@ #include #include -// Support both boost in Debian unstable (BOOST_LATEST) and in stable (boost 1.67) -#if BOOST_VERSION >= 107100 -#define BOOST_LATEST -#endif - #include #include #include #include #include -#ifdef BOOST_LATEST #include -#endif #include #include "config.h" @@ -26,11 +19,7 @@ namespace ssl = boost::asio::ssl; // from namespace HTTPS { -#ifdef BOOST_LATEST static const ssl::context_base::method tls_method {ssl::context::tlsv13}; -#else -static const ssl::context_base::method tls_method {ssl::context::tlsv12}; -#endif class Server: public ::Server { -- cgit v1.2.3