Botan 3.6.1
Crypto and TLS for C&
asio_compat.h File Reference

Public Header. More...

#include <botan/build.h>
#include <boost/version.hpp>

Go to the source code of this file.

Macros

#define BOTAN_MINIMUM_SUPPORTED_BOOST_ASIO_VERSION   107300
 minimum supported boost version for the TLS ASIO wrapper
 

Detailed Description

Public Header.

Definition in file asio_compat.h.

Macro Definition Documentation

◆ BOTAN_MINIMUM_SUPPORTED_BOOST_ASIO_VERSION

#define BOTAN_MINIMUM_SUPPORTED_BOOST_ASIO_VERSION   107300

minimum supported boost version for the TLS ASIO wrapper

BOOST_VERSION % 100 is the patch level BOOST_VERSION / 100 % 1000 is the minor version BOOST_VERSION / 100000 is the major version

Botan may still work with older versions of boost. Though, the asio TLS wrapper won't work with versions older than the one specified below.

Also note the changelog with rationales for the required versions:

until Botan 3.2.0 1.66.0 - first version to be compatible with Networking TS (N4656) and boost::beast

as of Botan 3.3.0 1.73.0 - first version supporting the C++20 concepts syntax

Definition at line 35 of file asio_compat.h.