Show More
@@ -454,6 +454,10 b" coreconfigitem('hooks', '.*'," | |||
|
454 | 454 | default=dynamicdefault, |
|
455 | 455 | generic=True, |
|
456 | 456 | ) |
|
457 | coreconfigitem('hostfingerprints', '.*', | |
|
458 | default=list, | |
|
459 | generic=True, | |
|
460 | ) | |
|
457 | 461 | coreconfigitem('hostsecurity', 'ciphers', |
|
458 | 462 | default=None, |
|
459 | 463 | ) |
@@ -200,7 +200,7 b' def _hostsettings(ui, hostname):' | |||
|
200 | 200 | s['certfingerprints'].append((alg, fingerprint)) |
|
201 | 201 | |
|
202 | 202 | # Fingerprints from [hostfingerprints] are always SHA-1. |
|
203 |
for fingerprint in ui.configlist('hostfingerprints', hostname |
|
|
203 | for fingerprint in ui.configlist('hostfingerprints', hostname): | |
|
204 | 204 | fingerprint = fingerprint.replace(':', '').lower() |
|
205 | 205 | s['certfingerprints'].append(('sha1', fingerprint)) |
|
206 | 206 | s['legacyfingerprint'] = True |
General Comments 0
You need to be logged in to leave comments.
Login now