From f861c2ff48f420b3be16f15bbf36c6ee3f779c38 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Sat, 27 Apr 2013 20:55:50 -0700 Subject: Back out broken but non-required hostname hash change --- paramiko/hostkeys.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py index 27b9fef0..1ddb25b7 100644 --- a/paramiko/hostkeys.py +++ b/paramiko/hostkeys.py @@ -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): -- cgit v1.2.3