Do not check digest on mapped installs
Change-Id: I2d57eba354e4ec88f418208183f53c12e8548fcb
This commit is contained in:
+3
-3
@@ -353,9 +353,9 @@ int TWinstall_zip(const char* path, int* wipe_cache) {
|
||||
|
||||
gui_msg("check_for_digest=Checking for Digest file...");
|
||||
|
||||
if (!twrpDigestDriver::Check_File_Digest(Full_Filename)) {
|
||||
LOGERR("Aborting zip install: Digest verification failed\n");
|
||||
return INSTALL_CORRUPT;
|
||||
if (*path != '@' && !twrpDigestDriver::Check_File_Digest(Full_Filename)) {
|
||||
LOGERR("Aborting zip install: Digest verification failed\n");
|
||||
return INSTALL_CORRUPT;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user