Skip to content

Commit

Permalink
Rename one more instance of verify before extraction key
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo committed Nov 25, 2024
1 parent 1f848c1 commit 8157076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sparkle/SPUUpdater.m
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ - (BOOL)checkIfConfiguredProperlyAndRequireFeedURL:(BOOL)requireFeedURL validate
}
return NO;
} else {
BOOL requireSignedArchives = [_host boolForInfoDictionaryKey:SUVerifyUpdateBeforeExtractionKey];
BOOL verifyBeforeExtraction = [_host boolForInfoDictionaryKey:SUVerifyUpdateBeforeExtractionKey];

if (requireSignedArchives) {
if (verifyBeforeExtraction) {
if (error != NULL) {
*error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUNoPublicDSAFoundError userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:@"For security reasons, updates need to be signed with an EdDSA key because %@ is specified for %@. Visit Sparkle's documentation for more information.", SUVerifyUpdateBeforeExtractionKey, hostName] }];
}
Expand Down

0 comments on commit 8157076

Please sign in to comment.