summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Kunikowski <b.kunikowski@partner.samsung.com>2016-12-05 07:49:59 (GMT)
committerkyungwook tak <k.tak@samsung.com>2016-12-07 03:59:51 (GMT)
commit1fcac8945420537f89d24a0e8e52ec99cc432674 (patch)
treebb3eaf44d0c5b54f4cc8c2f0ccb223979a8e704b
parent5335b01f4278e391dd90cdca799b26dfaecbde07 (diff)
downloadlibwebappenc-1fcac8945420537f89d24a0e8e52ec99cc432674.zip
libwebappenc-1fcac8945420537f89d24a0e8e52ec99cc432674.tar.gz
libwebappenc-1fcac8945420537f89d24a0e8e52ec99cc432674.tar.bz2
Fix for wae_initializerrefs/changes/22/102222/4
There is a bug in if statement, it don't allow to properly work of this initializer if there are no --reload flag. Other way to do it is simply use wae_initializer always as it is with --reload flag. Change-Id: I9622373c914f8c0f1f22d3f810417251cced81ba Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
-rw-r--r--srcs/key_handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/key_handler.c b/srcs/key_handler.c
index 4607fdd..905538e 100644
--- a/srcs/key_handler.c
+++ b/srcs/key_handler.c
@@ -539,8 +539,8 @@ int load_preloaded_app_deks(bool reload)
// check if all deks were already loaded into key-manager.
ret = is_app_deks_loaded_in_key_manager();
- if (ret == WAE_ERROR_NONE)
- return ret;
+ if (ret == true)
+ return WAE_ERROR_NONE;
}
raw_buffer_s *prikey = NULL;