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
This commit is contained in:
Roger Shimizu 2017-05-14 23:54:04 +09:00
parent dd7cafca48
commit 28ee60d216
1 changed files with 3 additions and 0 deletions

View File

@ -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)