Skip to content

Commit

Permalink
ssh/knownhosts: remove godoc about non-supported hashed hosts
Browse files Browse the repository at this point in the history
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 <bradfitz@golang.org>
  • Loading branch information
Frostman authored and bradfitz committed Jan 27, 2018
1 parent f77cc4b commit 771b178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knownhosts/knownhosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 771b178

Please sign in to comment.