Normalized digest check before installing zip

Change-Id: I5a3e82f103e7a80800be7790f1c8dc33c76413da
(cherry picked from commit 646f4f0c66a918f12e12784b22e7dc9a89837c37)
This commit is contained in:
epicX
2021-03-20 21:58:17 +05:30
committed by bigbiff
parent 2e344ab7fb
commit 9597b840bc
13 changed files with 98 additions and 57 deletions
+2 -2
View File
@@ -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;
}