Show More
@@ -243,8 +243,13 b' def sslkwargs(ui, host):' | |||||
243 | if hostfingerprint: |
|
243 | if hostfingerprint: | |
244 | return kws |
|
244 | return kws | |
245 |
|
245 | |||
246 | # dispatch sets web.cacerts=! when --insecure is used. |
|
246 | # The code below sets up CA verification arguments. If --insecure is | |
|
247 | # used, we don't take CAs into consideration, so return early. | |||
|
248 | if ui.insecureconnections: | |||
|
249 | return kws | |||
|
250 | ||||
247 | cacerts = ui.config('web', 'cacerts') |
|
251 | cacerts = ui.config('web', 'cacerts') | |
|
252 | # TODO remove check when we stop setting this config. | |||
248 | if cacerts == '!': |
|
253 | if cacerts == '!': | |
249 | return kws |
|
254 | return kws | |
250 |
|
255 |
General Comments 0
You need to be logged in to leave comments.
Login now