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):
|
if (hostname in e.hostnames) and (e.key.get_name() == keytype):
|
||||||
e.key = key
|
e.key = key
|
||||||
return
|
return
|
||||||
if not hostname.startswith('|1|') and hash_hostname:
|
|
||||||
hostname = self.hash_host(hostname)
|
|
||||||
self._entries.append(HostKeyEntry([hostname], key))
|
self._entries.append(HostKeyEntry([hostname], key))
|
||||||
|
|
||||||
def load(self, filename):
|
def load(self, filename):
|
||||||
|
|
Loading…
Reference in New Issue