diff options
author | Hannes Rantzsch <[email protected]> | 2019-04-24 17:31:54 +0200 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-04-24 17:31:54 +0200 |
commit | baa0725609df52014b43bb28297594c7a9c3c320 (patch) | |
tree | 4f02328618472bad3dacf7d019f497f889f732c3 /src/tests/test_otp.cpp | |
parent | cd0580600fd3bbdd49fe60a1333c5ea5df9d5bfc (diff) |
start restructuring asio stream headers
StreamCore is now a nested class of Stream and will soon be hidden from
the public interface. The goal is to offer buffer-handling methods (like
CopyReceivedData) directly in Steam and have StreamCore be responsible
for Botan::TLS::Callbacks implementation only. This will remove the need
to provide StreamCore as a parameter for Async Ops construction.
StreamBase has been removed. Stream no longer decides whether it is a
Client or a Server when constructed, but when performing the handshake.
This resembles the interface of boost::asio::ssl::stream and hides the
implementation detail from the user.
In order to allow testing with mocked TLS::Channels anyways, we use
SPHINAE to setup either a real channel or a mocked channel.
Diffstat (limited to 'src/tests/test_otp.cpp')
0 files changed, 0 insertions, 0 deletions