Fix update validation code from recent merge for pkg updates

This commit is contained in:
Zorg committed 2016-12-23 14:58:31 -05:00
1 parent fe79d29665
commit ae35c09624
1 file changed
+2 -3
+2 -3
View File
@@ -106,9 +106,8 @@
return [SPUInstallerValidation validateBundleUpdateForHost:host newBundleURL:installSourceURL archivePath:downloadPath DSASignature:DSASignature];
}
} else if (isPackage) {
// We shouldn't get here because we don't validate packages before extracting them currently
SULog(@"Error: not expecting to find package after being required to validate update before extraction");
return NO;
// We already prevalidated the package and nothing else needs to be done
return YES;
} else {
// Because we already validated the DSA signature, this is just a consistency check to see
// if the developer signed their application properly with their Apple ID