diff options
author | Jack Lloyd <[email protected]> | 2016-08-31 10:39:31 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-08-31 10:39:31 -0400 |
commit | c1fe86cbf842392118c977b3799070de35ee56fc (patch) | |
tree | f673afb1d645098a6edb4552e93f6b2f19fe8d7e /src/lib/tls/tls_channel.cpp | |
parent | 58a8cda50c5f3e206e6a033ff7601cd00086115e (diff) |
Move some Callback functions to a source file.
Just to avoid the unused parameter warning (we want the parameter
to be named in the header for documentation purposes, but in that
case GCC warns that the param is unused).
Diffstat (limited to 'src/lib/tls/tls_channel.cpp')
-rw-r--r-- | src/lib/tls/tls_channel.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/tls/tls_channel.cpp b/src/lib/tls/tls_channel.cpp index 5f882af64..a476b21bd 100644 --- a/src/lib/tls/tls_channel.cpp +++ b/src/lib/tls/tls_channel.cpp @@ -19,6 +19,18 @@ namespace Botan { namespace TLS { +Callbacks::~Callbacks() {} + +void Callbacks::tls_inspect_handshake_msg(const Handshake_Message&) + { + // default is no op + } + +std::string Callbacks::tls_server_choose_app_protocol(const std::vector<std::string>&) + { + return ""; + } + size_t TLS::Channel::IO_BUF_DEFAULT_SIZE = 10*1024; Channel::Channel(Callbacks& callbacks, |