summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Swierczek <t.swierczek@samsung.com>2018-11-13 09:46:38 +0100
committerTomasz Swierczek <t.swierczek@samsung.com>2018-11-13 09:46:38 +0100
commit364e5466325f844023853965e09273eb892a1abd (patch)
tree8c4af3ea655e108dd49afc90269a4fc7859209c4
parent9bb8a760b97ba2c5fd5fd49a1471d2cb220b8bd8 (diff)
downloadkey-manager-ta-364e5466325f844023853965e09273eb892a1abd.tar.gz
key-manager-ta-364e5466325f844023853965e09273eb892a1abd.tar.bz2
key-manager-ta-364e5466325f844023853965e09273eb892a1abd.zip
Change-Id: I1c822bb6dc1f75d9919deb7b1e18a9b38b7443cd
-rw-r--r--ta/src/cmd_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ta/src/cmd_exec.c b/ta/src/cmd_exec.c
index 83e5f45..7f4858c 100644
--- a/ta/src/cmd_exec.c
+++ b/ta/src/cmd_exec.c
@@ -924,7 +924,7 @@ TEE_Result KM_ExecCmdSaveData(TEE_Param param[4])
goto clean;
}
- KM_CreateKey(TEE_TYPE_AES, dataSizeBits_flag, dataToSave.data, &key);
+ ret = KM_CreateKey(TEE_TYPE_AES, dataSizeBits_flag, dataToSave.data, &key);
if (ret != TEE_SUCCESS) {
LOG("Failed to create key");
goto clean;