summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Dynowski <k.dynowski@samsung.com>2019-02-11 16:28:41 +0100
committerKrzysztof Dynowski <k.dynowski@samsung.com>2019-02-11 16:28:41 +0100
commit7d7e08b49b10de6b805542c0990cce5c47581672 (patch)
tree60770ca642bb103613156ff911ff2d7906cb5f96
parent7120f32dd603c25a68ecfda536995a7cd47636a8 (diff)
downloadtef-simulator-submit/tizen/20190212.131323.tar.gz
tef-simulator-submit/tizen/20190212.131323.tar.bz2
tef-simulator-submit/tizen/20190212.131323.zip
Fix setting of identity propertysubmit/tizen/20190212.131323
Change-Id: If72f72a7122f9405ecb83e35f8c1f4d9ea27961b
-rw-r--r--TEEStub/PropertyAccess/PropertyApi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TEEStub/PropertyAccess/PropertyApi.cpp b/TEEStub/PropertyAccess/PropertyApi.cpp
index a3703fa..42aa63e 100644
--- a/TEEStub/PropertyAccess/PropertyApi.cpp
+++ b/TEEStub/PropertyAccess/PropertyApi.cpp
@@ -79,7 +79,7 @@ TEE_Result InitPropertyModule(const std::string& uuid,
const std::string& taDir, uint32_t clientLogin) {
PropertyValue pv;
pv.type = "identity";
- pv.value = "" + clientLogin;
+ pv.value = std::to_string(clientLogin);
clientLoginGlobal = clientLogin;
thisTAUUIDGlobal = uuid;
@@ -332,7 +332,7 @@ void TEE_StartPropertyEnumerator(TEE_PropSetHandle enumerator,
case TEE_PROPSET_CURRENT_CLIENT: {
PropertyValue pv;
pv.type = "identity";
- pv.value = "" + clientLoginGlobal;
+ pv.value = std::to_string(clientLoginGlobal);
if(!_allowPropertyAccess)
{
break;