summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Oleynik <aoleynik@luxoft.com>2016-07-15 13:50:22 +0300
committerAndrey Oleynik <aoleynik@luxoft.com>2016-07-15 13:50:22 +0300
commitba0cfe1c9b7dc388dd8c35c4b7b6fa8dfe92bc9d (patch)
treedc4c762b798f9c0b2f4fdcfd3c2bcdce74cd0e95
parent2761539513429f53a7f2d7f80b68eb8e7b1bdb99 (diff)
downloadsdl_core-ba0cfe1c9b7dc388dd8c35c4b7b6fa8dfe92bc9d.tar.gz
Fixes SSL context setting during handshake
Relates-to: APPLINK-26566
-rw-r--r--src/components/application_manager/src/application_manager_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/application_manager_impl.cc b/src/components/application_manager/src/application_manager_impl.cc
index 8ec093d99a..2c67032818 100644
--- a/src/components/application_manager/src/application_manager_impl.cc
+++ b/src/components/application_manager/src/application_manager_impl.cc
@@ -1264,8 +1264,8 @@ ApplicationManagerImpl::GetHandshakeContext(uint32_t key) const {
using security_manager::SSLContext;
ApplicationConstSharedPtr app = application(key);
if (app) {
- SSLContext::HandshakeContext(custom_str::CustomString(app->policy_app_id()),
- app->name());
+ return SSLContext::HandshakeContext(
+ custom_str::CustomString(app->policy_app_id()), app->name());
}
return SSLContext::HandshakeContext();
}