summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-04-27 20:55:50 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-04-27 20:55:50 -0700
commitf861c2ff48f420b3be16f15bbf36c6ee3f779c38 (patch)
tree5748e12deb1ddb660c17fc5505e31cc3b81a74e8
parent6747d9944af483796890809b37a9cb260e08ee6d (diff)
Back out broken but non-required hostname hash change
-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):