From 1875d0a70c90e57f11972aefd42276df65e895b9 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Sat, 27 Jan 2018 11:02:20 -0800 Subject: [PATCH] ssh/knownhosts: remove godoc about non-supported hashed hosts Support for hashed hosts was added in: https://go-review.googlesource.com/c/crypto/+/40532 Change-Id: Id18dd346d727c8bc94d0230588572e9c8ee2ccb0 Reviewed-on: https://go-review.googlesource.com/90355 Reviewed-by: Brad Fitzpatrick --- ssh/knownhosts/knownhosts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/knownhosts/knownhosts.go b/ssh/knownhosts/knownhosts.go index 448fc07..46dad14 100644 --- a/ssh/knownhosts/knownhosts.go +++ b/ssh/knownhosts/knownhosts.go @@ -414,7 +414,7 @@ func (db *hostKeyDB) Read(r io.Reader, filename string) error { // New creates a host key callback from the given OpenSSH host key // files. The returned callback is for use in -// ssh.ClientConfig.HostKeyCallback. Hashed hostnames are not supported. +// ssh.ClientConfig.HostKeyCallback. func New(files ...string) (ssh.HostKeyCallback, error) { db := newHostKeyDB() for _, fn := range files {