equal
deleted
inserted
replaced
252 # used, we don't take CAs into consideration, so return early. |
252 # used, we don't take CAs into consideration, so return early. |
253 if ui.insecureconnections: |
253 if ui.insecureconnections: |
254 return kws |
254 return kws |
255 |
255 |
256 cacerts = ui.config('web', 'cacerts') |
256 cacerts = ui.config('web', 'cacerts') |
257 # TODO remove check when we stop setting this config. |
|
258 if cacerts == '!': |
|
259 return kws |
|
260 |
257 |
261 # If a value is set in the config, validate against a path and load |
258 # If a value is set in the config, validate against a path and load |
262 # and require those certs. |
259 # and require those certs. |
263 if cacerts: |
260 if cacerts: |
264 cacerts = util.expandpath(cacerts) |
261 cacerts = util.expandpath(cacerts) |