Skip to content
Snippets Groups Projects
Commit a5099babebbc authored by Jeff Forcier's avatar Jeff Forcier
Browse files

Back out broken but non-required hostname hash change

parent 0a3c8c16f27e
Branches
No related tags found
No related merge requests found
...@@ -141,8 +141,6 @@ ...@@ -141,8 +141,6 @@
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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment