From 32b714e0853072a61772dfff868f13d9eeec38e4 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Thu, 30 Jul 2015 19:19:48 -0700 Subject: [PATCH] Update code.google.com/gosshold/ssh to point to golang.org/x/crypto/ssh, since this has been moved into core now Fixes #2515 --- builder/digitalocean/step_create_ssh_key.go | 2 +- builder/googlecompute/step_create_ssh_key.go | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/builder/digitalocean/step_create_ssh_key.go b/builder/digitalocean/step_create_ssh_key.go index a99fd930d..ce65cb425 100644 --- a/builder/digitalocean/step_create_ssh_key.go +++ b/builder/digitalocean/step_create_ssh_key.go @@ -10,11 +10,11 @@ import ( "os" "runtime" - "code.google.com/p/gosshold/ssh" "github.com/digitalocean/godo" "github.com/mitchellh/multistep" "github.com/mitchellh/packer/common/uuid" "github.com/mitchellh/packer/packer" + "golang.org/x/crypto/ssh" ) type stepCreateSSHKey struct { diff --git a/builder/googlecompute/step_create_ssh_key.go b/builder/googlecompute/step_create_ssh_key.go index bbf048ee7..521e6c3d6 100644 --- a/builder/googlecompute/step_create_ssh_key.go +++ b/builder/googlecompute/step_create_ssh_key.go @@ -1,15 +1,16 @@ package googlecompute import ( - "code.google.com/p/gosshold/ssh" "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/pem" "fmt" + "os" + "github.com/mitchellh/multistep" "github.com/mitchellh/packer/packer" - "os" + "golang.org/x/crypto/ssh" ) // StepCreateSSHKey represents a Packer build step that generates SSH key pairs.