summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f525165827..249fd04def 100644
--- a/src/components/application_manager/src/application_manager_impl.cc
+++ b/src/components/application_manager/src/application_manager_impl.cc
@@ -1286,8 +1286,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();
}