diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2018-11-13 09:46:38 +0100 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2018-11-13 09:46:38 +0100 |
commit | 364e5466325f844023853965e09273eb892a1abd (patch) | |
tree | 8c4af3ea655e108dd49afc90269a4fc7859209c4 | |
parent | 9bb8a760b97ba2c5fd5fd49a1471d2cb220b8bd8 (diff) | |
download | key-manager-ta-364e5466325f844023853965e09273eb892a1abd.tar.gz key-manager-ta-364e5466325f844023853965e09273eb892a1abd.tar.bz2 key-manager-ta-364e5466325f844023853965e09273eb892a1abd.zip |
Add checking of return value from KM_CreateKey in KM_ExecCmdSaveDatasubmit/tizen_5.0/20181113.131841submit/tizen/20181113.131604accepted/tizen/unified/20181114.074440accepted/tizen/5.0/unified/20181114.074507tizen_5.0accepted/tizen_5.0_unified
Change-Id: I1c822bb6dc1f75d9919deb7b1e18a9b38b7443cd
-rw-r--r-- | ta/src/cmd_exec.c | 2 |
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; |