diff --git a/SUConstants.h b/SUConstants.h index acec7483..15895a9e 100644 --- a/SUConstants.h +++ b/SUConstants.h @@ -20,7 +20,6 @@ extern NSString *SUShowReleaseNotesKey; extern NSString *SUSkippedVersionKey; extern NSString *SUScheduledCheckIntervalKey; extern NSString *SULastCheckTimeKey; -extern NSString *SUExpectsDSASignatureKey; extern NSString *SUPublicDSAKeyKey; extern NSString *SUPublicDSAKeyFileKey; extern NSString *SUAutomaticallyUpdateKey; diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m index f251f221..fdb7d895 100644 --- a/SUUpdateAlert.m +++ b/SUUpdateAlert.m @@ -98,11 +98,9 @@ - (BOOL)allowsAutomaticUpdates { - if (![[host objectForInfoDictionaryKey:SUExpectsDSASignatureKey] boolValue]) - return NO; // Automatic updating requires DSA-signed updates if (![host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey]) return YES; // defaults to YES - return [[host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] boolValue]; + return [host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey]; } - (void)awakeFromNib diff --git a/SUUpdater.m b/SUUpdater.m index 0179df98..8eb95a5f 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -270,10 +270,6 @@ static NSString *SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObserv if ([host objectForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] && [host boolForInfoDictionaryKey:SUAllowsAutomaticUpdatesKey] == NO) return NO; - // If we're not using DSA signatures, we aren't going to trust any updates automatically. - if ([host boolForInfoDictionaryKey:SUExpectsDSASignatureKey] != YES) - return NO; - // Otherwise, automatically downloading updates is allowed. Does the user want it? return [host boolForUserDefaultsKey:SUAutomaticallyUpdateKey]; }