Normalized digest check before installing zip
Change-Id: I5a3e82f103e7a80800be7790f1c8dc33c76413da (cherry picked from commit 646f4f0c66a918f12e12784b22e7dc9a89837c37)
This commit is contained in:
@@ -70,8 +70,8 @@ bool twrpDigestDriver::Check_File_Digest(const string& Filename) {
|
||||
|
||||
if (!TWFunc::Path_Exists(digestfile)) {
|
||||
delete digest;
|
||||
gui_msg(Msg(msg::kError, "no_digest_found=No digest file found for '{1}'. Please unselect Enable Digest verification to restore.")(Filename));
|
||||
return false;
|
||||
gui_msg(Msg(msg::kWarning, "no_digest=Skipping Digest check: no Digest file found"));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user