Skip to content

Commit d99183c

Browse files
committed
ssh: rename ExampleHostKeyCheck to ExampleClientConfig_HostKeyCallback
Change-Id: I6d0f3396f06871286e3d48ec5af38770663dbed2 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/171678 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 184a689 commit d99183c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ssh/example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func ExampleNewServerConn() {
140140
}
141141
}
142142

143-
func ExampleHostKeyCheck() {
143+
func ExampleClientConfig_HostKeyCallback() {
144144
// Every client must provide a host key check. Here is a
145145
// simple-minded parse of OpenSSH's known_hosts file
146146
host := "hostname"

0 commit comments

Comments
 (0)