summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/hostkeys.py2
1 files changed, 0 insertions, 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):