go.crypto: use golang.org/x/... import paths
LGTM=bradfitz
R=rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/167190043
diff --git a/ssh/agent/client.go b/ssh/agent/client.go
index a87b101..7f2ae50 100644
--- a/ssh/agent/client.go
+++ b/ssh/agent/client.go
@@ -24,7 +24,7 @@
"math/big"
"sync"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
// Agent represents the capabilities of an ssh-agent.
diff --git a/ssh/agent/client_test.go b/ssh/agent/client_test.go
index 03a7faa..80e2c2c 100644
--- a/ssh/agent/client_test.go
+++ b/ssh/agent/client_test.go
@@ -15,7 +15,7 @@
"strconv"
"testing"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
// startAgent executes ssh-agent, and returns a Agent interface to it.
diff --git a/ssh/agent/forward.go b/ssh/agent/forward.go
index 5c84ee2..fd24ba9 100644
--- a/ssh/agent/forward.go
+++ b/ssh/agent/forward.go
@@ -10,7 +10,7 @@
"net"
"sync"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
// RequestAgentForwarding sets up agent forwarding for the session.
diff --git a/ssh/agent/keyring.go b/ssh/agent/keyring.go
index ecfa66f..831a5b9 100644
--- a/ssh/agent/keyring.go
+++ b/ssh/agent/keyring.go
@@ -12,7 +12,7 @@
"fmt"
"sync"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
type privKey struct {
diff --git a/ssh/agent/server.go b/ssh/agent/server.go
index 2d55dc9..be9df0e 100644
--- a/ssh/agent/server.go
+++ b/ssh/agent/server.go
@@ -12,7 +12,7 @@
"log"
"math/big"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
// Server wraps an Agent and uses it to implement the agent side of
diff --git a/ssh/agent/server_test.go b/ssh/agent/server_test.go
index ad2996b..def5f8c 100644
--- a/ssh/agent/server_test.go
+++ b/ssh/agent/server_test.go
@@ -7,7 +7,7 @@
import (
"testing"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
func TestServer(t *testing.T) {
diff --git a/ssh/agent/testdata_test.go b/ssh/agent/testdata_test.go
index 6bb75a9..b7a8781 100644
--- a/ssh/agent/testdata_test.go
+++ b/ssh/agent/testdata_test.go
@@ -12,8 +12,8 @@
"crypto/rand"
"fmt"
- "code.google.com/p/go.crypto/ssh"
- "code.google.com/p/go.crypto/ssh/testdata"
+ "golang.org/x/crypto/ssh"
+ "golang.org/x/crypto/ssh/testdata"
)
var (
diff --git a/ssh/example_test.go b/ssh/example_test.go
index d9d6a54..22f42ec 100644
--- a/ssh/example_test.go
+++ b/ssh/example_test.go
@@ -12,7 +12,7 @@
"net"
"net/http"
- "code.google.com/p/go.crypto/ssh/terminal"
+ "golang.org/x/crypto/ssh/terminal"
)
func ExampleNewServerConn() {
diff --git a/ssh/keys_test.go b/ssh/keys_test.go
index cd49565..36b97ad 100644
--- a/ssh/keys_test.go
+++ b/ssh/keys_test.go
@@ -17,7 +17,7 @@
"strings"
"testing"
- "code.google.com/p/go.crypto/ssh/testdata"
+ "golang.org/x/crypto/ssh/testdata"
)
func rawKey(pub PublicKey) interface{} {
diff --git a/ssh/session_test.go b/ssh/session_test.go
index cc26573..fce9868 100644
--- a/ssh/session_test.go
+++ b/ssh/session_test.go
@@ -14,7 +14,7 @@
"math/rand"
"testing"
- "code.google.com/p/go.crypto/ssh/terminal"
+ "golang.org/x/crypto/ssh/terminal"
)
type serverType func(Channel, <-chan *Request, *testing.T)
diff --git a/ssh/test/agent_unix_test.go b/ssh/test/agent_unix_test.go
index b56c58c..502e24f 100644
--- a/ssh/test/agent_unix_test.go
+++ b/ssh/test/agent_unix_test.go
@@ -10,8 +10,8 @@
"bytes"
"testing"
- "code.google.com/p/go.crypto/ssh"
- "code.google.com/p/go.crypto/ssh/agent"
+ "golang.org/x/crypto/ssh"
+ "golang.org/x/crypto/ssh/agent"
)
func TestAgentForward(t *testing.T) {
diff --git a/ssh/test/cert_test.go b/ssh/test/cert_test.go
index 95a12c1..364790f 100644
--- a/ssh/test/cert_test.go
+++ b/ssh/test/cert_test.go
@@ -10,7 +10,7 @@
"crypto/rand"
"testing"
- "code.google.com/p/go.crypto/ssh"
+ "golang.org/x/crypto/ssh"
)
func TestCertLogin(t *testing.T) {
diff --git a/ssh/test/session_test.go b/ssh/test/session_test.go
index d8d35a5..0b7892b 100644
--- a/ssh/test/session_test.go
+++ b/ssh/test/session_test.go
@@ -10,8 +10,8 @@
import (
"bytes"
- "code.google.com/p/go.crypto/ssh"
"errors"
+ "golang.org/x/crypto/ssh"
"io"
"strings"
"testing"
diff --git a/ssh/test/test_unix_test.go b/ssh/test/test_unix_test.go
index 3ac310e..f1fc50b 100644
--- a/ssh/test/test_unix_test.go
+++ b/ssh/test/test_unix_test.go
@@ -21,8 +21,8 @@
"testing"
"text/template"
- "code.google.com/p/go.crypto/ssh"
- "code.google.com/p/go.crypto/ssh/testdata"
+ "golang.org/x/crypto/ssh"
+ "golang.org/x/crypto/ssh/testdata"
)
const sshd_config = `
diff --git a/ssh/test/testdata_test.go b/ssh/test/testdata_test.go
index 7f50fbe..ae48c75 100644
--- a/ssh/test/testdata_test.go
+++ b/ssh/test/testdata_test.go
@@ -12,8 +12,8 @@
"crypto/rand"
"fmt"
- "code.google.com/p/go.crypto/ssh"
- "code.google.com/p/go.crypto/ssh/testdata"
+ "golang.org/x/crypto/ssh"
+ "golang.org/x/crypto/ssh/testdata"
)
var (
diff --git a/ssh/testdata_test.go b/ssh/testdata_test.go
index 302fdc8..f2828c1 100644
--- a/ssh/testdata_test.go
+++ b/ssh/testdata_test.go
@@ -12,7 +12,7 @@
"crypto/rand"
"fmt"
- "code.google.com/p/go.crypto/ssh/testdata"
+ "golang.org/x/crypto/ssh/testdata"
)
var (