diff options
author | Jack Lloyd <[email protected]> | 2017-10-15 11:28:06 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-15 11:28:06 -0400 |
commit | 96ed1bf7f001e8302bdaa42ab37555ee5c0f9edb (patch) | |
tree | c27a5e1a6875062a8b55f1a54129d84ef8ad1373 /src/cli/tls_proxy.cpp | |
parent | d52dece3876df6d19681fb16cb607325aee01052 (diff) |
Additional final annotations
Diffstat (limited to 'src/cli/tls_proxy.cpp')
-rw-r--r-- | src/cli/tls_proxy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cli/tls_proxy.cpp b/src/cli/tls_proxy.cpp index 25ffabdb8..2c5f6889d 100644 --- a/src/cli/tls_proxy.cpp +++ b/src/cli/tls_proxy.cpp @@ -60,7 +60,8 @@ void log_text_message(const char* where, const uint8_t buf[], size_t buf_len) //std::cout << where << ' ' << std::string(c, c + buf_len) << std::endl; } -class tls_proxy_session : public boost::enable_shared_from_this<tls_proxy_session>, public Botan::TLS::Callbacks +class tls_proxy_session final : public boost::enable_shared_from_this<tls_proxy_session>, + public Botan::TLS::Callbacks { public: enum { readbuf_size = 4 * 1024 }; @@ -337,7 +338,7 @@ class tls_proxy_session : public boost::enable_shared_from_this<tls_proxy_sessio std::vector<uint8_t> m_p2s_pending; }; -class tls_proxy_server +class tls_proxy_server final { public: typedef tls_proxy_session session; |