mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-27 01:01:16 +00:00
commit
bc6a9388ba
@ -1101,7 +1101,7 @@ int KeyManager::ActiveCeSceSeceUserKey(unsigned int user,
|
|||||||
if (!KeyCtrlHasFscryptSyspara()) {
|
if (!KeyCtrlHasFscryptSyspara()) {
|
||||||
return 0;
|
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::error_code errCode;
|
||||||
std::string restore_version;
|
std::string restore_version;
|
||||||
(void)OHOS::LoadStringFromFile(need_restore_path, restore_version);
|
(void)OHOS::LoadStringFromFile(need_restore_path, restore_version);
|
||||||
|
Loading…
Reference in New Issue
Block a user