| commit | d99183c9a7b6d41bb2fa77e63938f49523fe9b68 | [log] [tgz] |
|---|---|---|
| author | Han-Wen Nienhuys <hanwen@google.com> | Thu Apr 11 09:04:44 2019 +0200 |
| committer | Han-Wen Nienhuys <hanwen@google.com> | Thu Apr 11 14:11:56 2019 +0000 |
| tree | 884b9f68aa6837ae19be353e0b72b58547e24d0a | |
| parent | 184a689644f29bf8bdd79031903de428eee310c1 [diff] |
ssh: rename ExampleHostKeyCheck to ExampleClientConfig_HostKeyCallback Change-Id: I6d0f3396f06871286e3d48ec5af38770663dbed2 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/171678 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/ssh/example_test.go b/ssh/example_test.go index b910c7b..4fe26b0 100644 --- a/ssh/example_test.go +++ b/ssh/example_test.go
@@ -140,7 +140,7 @@ } } -func ExampleHostKeyCheck() { +func ExampleClientConfig_HostKeyCallback() { // Every client must provide a host key check. Here is a // simple-minded parse of OpenSSH's known_hosts file host := "hostname"