diff options
Diffstat (limited to 'macosx/Sparkle.disable.security.patch')
-rw-r--r-- | macosx/Sparkle.disable.security.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/macosx/Sparkle.disable.security.patch b/macosx/Sparkle.disable.security.patch new file mode 100644 index 000000000..7d3d2d038 --- /dev/null +++ b/macosx/Sparkle.disable.security.patch @@ -0,0 +1,18 @@ +--- SUBasicUpdateDriver.m.orig 2009-06-18 16:23:17.000000000 -0400 ++++ SUBasicUpdateDriver.m 2009-06-18 16:23:53.000000000 -0400 +@@ -158,6 +158,7 @@ + + - (void)downloadDidFinish:(NSURLDownload *)d + { ++#if 0 + // New in Sparkle 1.5: we're now checking signatures on all non-secure downloads, where "secure" is defined as both the appcast and the download being transmitted over SSL. + NSURL *downloadURL = [[d request] URL]; + if (![[downloadURL scheme] isEqualToString:@"https"] || ![[appcastURL scheme] isEqualToString:@"https"] || [host publicDSAKey]) +@@ -168,6 +169,7 @@ + return; + } + } ++#endif + + [self extractUpdate]; + } |