We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3f37d4 + 42d6dfc commit 1681333Copy full SHA for 1681333
server.go
@@ -164,7 +164,7 @@ func (srv *Server) ListenAndServe() error {
164
func (srv *Server) AddHostKey(key Signer) {
165
// these are later added via AddHostKey on ServerConfig, which performs the
166
// check for one of every algorithm.
167
- srv.HostSigners = append(srv.HostSigners, signer)
+ srv.HostSigners = append(srv.HostSigners, key)
168
}
169
170
// SetOption runs a functional option against the server.
0 commit comments