Back out broken but non-required hostname hash change
This commit is contained in:
parent
6747d9944a
commit
f861c2ff48
|
@ -141,8 +141,6 @@ class HostKeys (UserDict.DictMixin):
|
|||
if (hostname in e.hostnames) and (e.key.get_name() == keytype):
|
||||
e.key = key
|
||||
return
|
||||
if not hostname.startswith('|1|') and hash_hostname:
|
||||
hostname = self.hash_host(hostname)
|
||||
self._entries.append(HostKeyEntry([hostname], key))
|
||||
|
||||
def load(self, filename):
|
||||
|
|
Loading…
Reference in New Issue