handle ABI change of golang-golang-x-crypto-dev

That ABI change was due to CVE security fix

Fix is picked from upstream of golang-golang-x-crypto-dev:
  e4e2799dd7

Closes: #861282
pull/4900/head
Roger Shimizu 9 years ago
parent dd7cafca48
commit 28ee60d216

@ -132,6 +132,7 @@ func TestNew_Invalid(t *testing.T) {
Auth: []ssh.AuthMethod{
ssh.Password("i-am-invalid"),
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
}
address := newMockLineServer(t)
@ -160,6 +161,7 @@ func TestStart(t *testing.T) {
Auth: []ssh.AuthMethod{
ssh.Password("pass"),
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
}
address := newMockLineServer(t)
@ -195,6 +197,7 @@ func TestHandshakeTimeout(t *testing.T) {
Auth: []ssh.AuthMethod{
ssh.Password("pass"),
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
}
address := newMockBrokenServer(t)

Loading…
Cancel
Save