aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_client.h
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2016-05-13 00:42:16 +0200
committerMatthias Gierlings <[email protected]>2016-06-19 18:28:34 +0200
commit89b75a5a36c18a7593aa6bdbb472e301904a66b3 (patch)
tree2b8522fb174365ef1b880e7416feb51798e3b7cd /src/lib/tls/tls_client.h
parent29e3af141c849ca6efcf755a3abb2c51a7c553e8 (diff)
Implemented Feedback on GH #457
- Removed deprecated TLS-Alert-Callback parameters. - Fixed improper naming of accessor for ALPN-Strings in tls_client.h - Fixed erroneous indentation on Ciphersuite Constructor.
Diffstat (limited to 'src/lib/tls/tls_client.h')
-rw-r--r--src/lib/tls/tls_client.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/tls/tls_client.h b/src/lib/tls/tls_client.h
index e80739010..f73de0108 100644
--- a/src/lib/tls/tls_client.h
+++ b/src/lib/tls/tls_client.h
@@ -67,7 +67,7 @@ class BOTAN_DLL Client final : public Channel
= {})
: m_server_info(server_info),
m_protocol_version(protocol_version),
- m_next_protocol_versions(next_versions) {}
+ m_next_protocols(next_versions) {}
const Server_Information& get_server_info()
{
@@ -79,15 +79,15 @@ class BOTAN_DLL Client final : public Channel
return m_protocol_version;
}
- const std::vector<std::string>& get_next_protocol_versions()
- {
- return m_next_protocol_versions;
+ const std::vector<std::string>& get_next_protocols()
+ {
+ return m_next_protocols;
}
private:
const Server_Information& m_server_info;
const Protocol_Version m_protocol_version;
- const std::vector<std::string>& m_next_protocol_versions;
+ const std::vector<std::string>& m_next_protocols;
};
Client(const Callbacks& callbacks,
Session_Manager& session_manager,