##// END OF EJS Templates
sslutil: don't attempt to find default CA certs file when told not to...
Gregory Szorc -
r29484:53b7fc7c default
parent child Browse files
Show More
@@ -195,7 +195,7 b' def _hostsettings(ui, hostname):'
195 if not os.path.exists(cafile):
195 if not os.path.exists(cafile):
196 raise error.Abort(_('could not find web.cacerts: %s') %
196 raise error.Abort(_('could not find web.cacerts: %s') %
197 cafile)
197 cafile)
198 else:
198 elif s['allowloaddefaultcerts']:
199 # CAs not defined in config. Try to find system bundles.
199 # CAs not defined in config. Try to find system bundles.
200 cafile = _defaultcacerts(ui)
200 cafile = _defaultcacerts(ui)
201 if cafile:
201 if cafile:
General Comments 0
You need to be logged in to leave comments. Login now