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>
(cherry picked from commit
1fcac8945420537f89d24a0e8e52ec99cc432674)
// 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;