From 28ee60d216e49d565d654443b57295ce37197db1 Mon Sep 17 00:00:00 2001 From: Roger Shimizu Date: Sun, 14 May 2017 23:54:04 +0900 Subject: [PATCH] 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: https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 Closes: #861282 --- communicator/ssh/communicator_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/communicator/ssh/communicator_test.go b/communicator/ssh/communicator_test.go index fa43ed1ee..bc9700fe8 100644 --- a/communicator/ssh/communicator_test.go +++ b/communicator/ssh/communicator_test.go @@ -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)