summaryrefslogtreecommitdiffhomepage
path: root/https.h
diff options
context:
space:
mode:
Diffstat (limited to 'https.h')
-rw-r--r--https.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/https.h b/https.h
index 8d4b426..2a1caa8 100644
--- a/https.h
+++ b/https.h
@@ -3,20 +3,13 @@
#include <boost/asio/steady_timer.hpp>
#include <boost/beast/version.hpp>
-// Support both boost in Debian unstable (BOOST_LATEST) and in stable (boost 1.67)
-#if BOOST_VERSION >= 107100
-#define BOOST_LATEST
-#endif
-
#include <memory>
#include <string>
#include <unordered_map>
#include <boost/asio/dispatch.hpp>
#include <boost/asio/strand.hpp>
-#ifdef BOOST_LATEST
#include <boost/beast/ssl.hpp>
-#endif
#include <boost/asio/ssl.hpp>
#include "config.h"
@@ -26,11 +19,7 @@ namespace ssl = boost::asio::ssl; // from <boost/asio/ssl.hpp>
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
{