summaryrefslogtreecommitdiff
path: root/src/components/connection_handler/src/connection_handler_impl.cc
diff options
context:
space:
mode:
authorAlexandr Galiuzov <agaliuzov@luxoft.com>2015-08-03 14:21:46 +0300
committerAleksandr Galiuzov <AGaliuzov@luxoft.com>2015-10-04 18:33:21 +0300
commitf7496e763ed9de8d612e4bcf8578eda86a79fd62 (patch)
treeb4c7af585a615075a4bf9c8a4bc2b43452dcdb2c /src/components/connection_handler/src/connection_handler_impl.cc
parent4fa9992398ccc40f34827ef77972067bb426a35b (diff)
downloadsdl_core-f7496e763ed9de8d612e4bcf8578eda86a79fd62.tar.gz
Implement getting additional counters for handshake
Add additional counter to policy for handshake procedure. In case something wrong with handshake this counter will be incremented. Implement: APPLINK-12596 Closes-Issue: APPLINK-12598
Diffstat (limited to 'src/components/connection_handler/src/connection_handler_impl.cc')
-rw-r--r--src/components/connection_handler/src/connection_handler_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/connection_handler/src/connection_handler_impl.cc b/src/components/connection_handler/src/connection_handler_impl.cc
index 1fbe26a8f7..7542f311d1 100644
--- a/src/components/connection_handler/src/connection_handler_impl.cc
+++ b/src/components/connection_handler/src/connection_handler_impl.cc
@@ -654,6 +654,11 @@ void ConnectionHandlerImpl::SetProtectionFlag(
Connection &connection = *it->second;
connection.SetProtectionFlag(session_id, service_type);
}
+
+security_manager::SSLContext::HandshakeContext
+ConnectionHandlerImpl::GetHandshakeContext(uint32_t key) const {
+ return connection_handler_observer_->GetHandshakeContext(key);
+}
#endif // ENABLE_SECURITY
void ConnectionHandlerImpl::StartDevicesDiscovery() {