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:
parent
dd7cafca48
commit
28ee60d216
|
@ -132,6 +132,7 @@ func TestNew_Invalid(t *testing.T) {
|
||||||
Auth: []ssh.AuthMethod{
|
Auth: []ssh.AuthMethod{
|
||||||
ssh.Password("i-am-invalid"),
|
ssh.Password("i-am-invalid"),
|
||||||
},
|
},
|
||||||
|
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
|
||||||
}
|
}
|
||||||
|
|
||||||
address := newMockLineServer(t)
|
address := newMockLineServer(t)
|
||||||
|
@ -160,6 +161,7 @@ func TestStart(t *testing.T) {
|
||||||
Auth: []ssh.AuthMethod{
|
Auth: []ssh.AuthMethod{
|
||||||
ssh.Password("pass"),
|
ssh.Password("pass"),
|
||||||
},
|
},
|
||||||
|
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
|
||||||
}
|
}
|
||||||
|
|
||||||
address := newMockLineServer(t)
|
address := newMockLineServer(t)
|
||||||
|
@ -195,6 +197,7 @@ func TestHandshakeTimeout(t *testing.T) {
|
||||||
Auth: []ssh.AuthMethod{
|
Auth: []ssh.AuthMethod{
|
||||||
ssh.Password("pass"),
|
ssh.Password("pass"),
|
||||||
},
|
},
|
||||||
|
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
|
||||||
}
|
}
|
||||||
|
|
||||||
address := newMockBrokenServer(t)
|
address := newMockBrokenServer(t)
|
||||||
|
|
Loading…
Reference in New Issue