Back out broken but non-required hostname hash change

This commit is contained in:
Jeff Forcier 2013-04-27 20:55:50 -07:00
parent 6747d9944a
commit f861c2ff48
1 changed files with 0 additions and 2 deletions

View File

@ -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):