Show More
@@ -243,8 +243,13 b' def sslkwargs(ui, host):' | |||
|
243 | 243 | if hostfingerprint: |
|
244 | 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 | 251 | cacerts = ui.config('web', 'cacerts') |
|
252 | # TODO remove check when we stop setting this config. | |
|
248 | 253 | if cacerts == '!': |
|
249 | 254 | return kws |
|
250 | 255 |
General Comments 0
You need to be logged in to leave comments.
Login now