diff options
author | Hannes Rantzsch <[email protected]> | 2019-04-25 17:31:05 +0200 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-04-26 11:59:43 +0200 |
commit | 11c30960d632fa77c4bc6b2c80b1f5509ec1f35e (patch) | |
tree | 8f1b0ac5ecc4f4444454c1cc7b8431a77be9295d /src/tests | |
parent | cd2805db7d7117bae25da0abad6e730b013d89a0 (diff) |
Further cleanup of asio stream header files
* all async ops are now collected in one header and moved to the detail namespace
* error categories are no longer a detail, as they are visible to the user
* more documentation in asio_stream.h
* remove asio_includes.h helper header
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/unit_asio_stream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/unit_asio_stream.cpp b/src/tests/unit_asio_stream.cpp index a2d423785..704c4f305 100644 --- a/src/tests/unit_asio_stream.cpp +++ b/src/tests/unit_asio_stream.cpp @@ -1,5 +1,5 @@ /* -* TLS ASIO Stream Wrapper +* TLS ASIO Stream Unit Tests * (C) 2018-2019 Jack Lloyd * 2018-2019 Hannes Rantzsch, Tim Oesterreich, Rene Meusel * @@ -101,7 +101,7 @@ class AsioStream : public Botan::TLS::Stream<TestStream, MockChannel> AsioStream(Botan::TLS::Context& context, Args&& ... args) : Stream(context, args...) { - m_channel = std::unique_ptr<MockChannel>(new MockChannel(m_core)); + m_native_handle = std::unique_ptr<MockChannel>(new MockChannel(m_core)); } virtual ~AsioStream() = default; @@ -114,7 +114,7 @@ class ThrowingAsioStream : public Botan::TLS::Stream<TestStream, ThrowingMockCha ThrowingAsioStream(Botan::TLS::Context& context, Args&& ... args) : Stream(context, args...) { - m_channel = std::unique_ptr<ThrowingMockChannel>(new ThrowingMockChannel(m_core)); + m_native_handle = std::unique_ptr<ThrowingMockChannel>(new ThrowingMockChannel(m_core)); } virtual ~ThrowingAsioStream() = default; |