From ae35c09624b4f7c77cda6eb60f0cc597f027cd33 Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 23 Dec 2016 14:58:31 -0500 Subject: [PATCH] Fix update validation code from recent merge for pkg updates --- Sparkle/SUUpdateValidator.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sparkle/SUUpdateValidator.m b/Sparkle/SUUpdateValidator.m index f967516a..7be2ff88 100644 --- a/Sparkle/SUUpdateValidator.m +++ b/Sparkle/SUUpdateValidator.m @@ -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