mirror of
https://github.com/munki/munki.git
synced 2026-04-23 21:40:25 -05:00
fix typo in MSUAppDelegate
prevent curl from using non-authenticated anon DH cipher types, e.g. TLS_DH_anon_WITH_AES_256_CBC_SHA (seems that curl --ciphers HIGH selects high # bit ciphers, but not necessarily only secure ones) git-svn-id: http://munki.googlecode.com/svn/trunk@899 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -125,7 +125,7 @@ class MSUAppDelegate(NSObject):
|
||||
elif lastCheckResult == 1:
|
||||
NSApp.requestUserAttention_(NSCriticalRequest)
|
||||
elif lastCheckResult == -1:
|
||||
alert = NSAlert.alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat_(u"Cannot check for updates", u"Quit", objc.nil, objc.nil, "Managed Software Update cannot contact the update server at this time.\nIf this situtation continues, contact your systems administrator.")
|
||||
alert = NSAlert.alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat_(u"Cannot check for updates", u"Quit", objc.nil, objc.nil, "Managed Software Update cannot contact the update server at this time.\nIf this situation continues, contact your systems administrator.")
|
||||
alert.beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_(self.mainWindowController.theWindow, self, self.quitAlertDidEnd_returnCode_contextInfo_, objc.nil)
|
||||
elif lastCheckResult == -2:
|
||||
alert = NSAlert.alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat_(u"Cannot check for updates", u"Quit", objc.nil, objc.nil, "Managed Software Update failed its preflight check.\nTry again later.")
|
||||
|
||||
@@ -2091,7 +2091,7 @@ def curl(url, destinationpath, onlyifnewer=False, etag=None, resume=False,
|
||||
print >> fileobj, 'dump-header -' # dump headers to stdout
|
||||
print >> fileobj, 'speed-time = 30' # give up if too slow d/l
|
||||
print >> fileobj, 'output = "%s"' % tempdownloadpath
|
||||
print >> fileobj, 'ciphers = HIGH' # use only secure >=128 bit SSL
|
||||
print >> fileobj, 'ciphers = HIGH,!ADH' # use only secure >=128 bit SSL
|
||||
print >> fileobj, 'url = "%s"' % url
|
||||
|
||||
if cacert:
|
||||
|
||||
Reference in New Issue
Block a user