Skip to content

Commit ae3aecf

Browse files
fix post-merge issues
1 parent 8976317 commit ae3aecf

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

lib/ssh/messages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (kex *kexInitMsg) MarshalJSON() ([]byte, error) {
106106
return json.Marshal(temp)
107107
}
108108

109-
func (kex *KexInitMsg) GenerateServerHaSSH() string {
109+
func (kex *kexInitMsg) GenerateServerHaSSH() string {
110110
input := strings.Join(
111111
[]string{
112112
strings.Join(kex.KexAlgos, ","),

lib/ssh/messages_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func TestMarshalMultiTag(t *testing.T) {
207207
}
208208

209209
func TestHaSSH(t *testing.T) {
210-
ki := &KexInitMsg{}
210+
ki := &kexInitMsg{}
211211
randSource := rand.New(rand.NewSource(0))
212212
randomBytes(ki.Cookie[:], randSource)
213213
ki.KexAlgos = []string{"curve25519-sha256@libssh.org", "diffie-hellman-group-exchange-sha256", "ecdh-sha2-nistp521", "ecdh-sha2-nistp384", "ecdh-sha2-nistp256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group1-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group14-sha256", "diffie-hellman-group15-sha512", "diffie-hellman-group16-sha512", "diffie-hellman-group17-sha512", "diffie-hellman-group18-sha512", "diffie-hellman-group14-sha256@ssh.com", "diffie-hellman-group15-sha256", "diffie-hellman-group15-sha256@ssh.com", "diffie-hellman-group15-sha384@ssh.com", "diffie-hellman-group16-sha256", "diffie-hellman-group16-sha384@ssh.com", "diffie-hellman-group16-sha512@ssh.com", "diffie-hellman-group18-sha512@ssh.com"}

lib/ssh/test/agent_unix_test.go

Whitespace-only changes.

lib/ssh/test/tcpip_test.go

Whitespace-only changes.

0 commit comments

Comments
 (0)