mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-23 06:59:59 +00:00
单框架适应双框架安全加固修改
Signed-off-by: zhaoshuyuan <zhaoshuyuan2@huawei.com>
This commit is contained in:
parent
4ec4fa7bcb
commit
c5114d1ce5
@ -1101,7 +1101,7 @@ int KeyManager::ActiveCeSceSeceUserKey(unsigned int user,
|
||||
if (!KeyCtrlHasFscryptSyspara()) {
|
||||
return 0;
|
||||
}
|
||||
std::string need_restore_path = GetKeyDirByUserAndType(user, type) = RESTORE_DIR;
|
||||
std::string need_restore_path = GetKeyDirByUserAndType(user, type) + RESTORE_DIR;
|
||||
std::error_code errCode;
|
||||
std::string restore_version;
|
||||
(void)OHOS::LoadStringFromFile(need_restore_path, restore_version);
|
||||
|
Loading…
Reference in New Issue
Block a user