diff options
author | Tim Oesterreich <[email protected]> | 2019-02-28 11:18:27 +0100 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-04-16 10:48:08 +0200 |
commit | 59f4746a313b0ce377cffb4b6101ca5f6ebbf5cf (patch) | |
tree | 09364808c97ea0bc334036724104a263ddebdcf2 /src/lib/tls/asio/asio_stream_base.h | |
parent | 38d512729d3632cc9f89517d5e66905b7862cd4b (diff) |
ensure boost version > 1.66.0
Diffstat (limited to 'src/lib/tls/asio/asio_stream_base.h')
-rw-r--r-- | src/lib/tls/asio/asio_stream_base.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/tls/asio/asio_stream_base.h b/src/lib/tls/asio/asio_stream_base.h index 44f36d3d9..949f76bef 100644 --- a/src/lib/tls/asio/asio_stream_base.h +++ b/src/lib/tls/asio/asio_stream_base.h @@ -9,6 +9,11 @@ #ifndef BOTAN_ASIO_STREAM_BASE_H_ #define BOTAN_ASIO_STREAM_BASE_H_ +#if defined(BOTAN_HAS_TLS) && defined(BOTAN_HAS_BOOST_ASIO) + +#include <boost/version.hpp> +#if BOOST_VERSION > 106600 + #include <botan/auto_rng.h> #include <botan/tls_client.h> #include <botan/tls_server.h> @@ -93,4 +98,6 @@ class StreamBase<Botan::TLS::Client> } // namespace Botan -#endif +#endif // BOOST_VERSION +#endif // BOTAN_HAS_TLS && BOTAN_HAS_BOOST_ASIO +#endif // BOTAN_ASIO_STREAM_BASE_H_ |