summaryrefslogtreecommitdiff
path: root/src/pkg/net/http/httptest/server.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-08 00:06:45 -0400
committerRuss Cox <rsc@golang.org>2014-09-08 00:06:45 -0400
commit73bcb69f272cbf34ddcc9daa56427a8683b5a95d (patch)
treed20bfa495b84f48f23d9a976c038b70427eef2e8 /src/pkg/net/http/httptest/server.go
parent45fcda1dc8d9b4d4a9b642faf8e78941873f508d (diff)
downloadgo-73bcb69f272cbf34ddcc9daa56427a8683b5a95d.tar.gz
build: adjustments for move from src/pkg to src
This CL adjusts code referring to src/pkg to refer to src. Immediately after submitting this CL, I will submit a change doing 'hg mv src/pkg/* src'. That change will be too large to review with Rietveld but will contain only the 'hg mv'. This CL will break the build. The followup 'hg mv' will fix it. For more about the move, see golang.org/s/go14nopkg. LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/134570043
Diffstat (limited to 'src/pkg/net/http/httptest/server.go')
-rw-r--r--src/pkg/net/http/httptest/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/http/httptest/server.go b/src/pkg/net/http/httptest/server.go
index 7f265552f..789e7bf41 100644
--- a/src/pkg/net/http/httptest/server.go
+++ b/src/pkg/net/http/httptest/server.go
@@ -203,7 +203,7 @@ func (h *waitGroupHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// localhostCert is a PEM-encoded TLS cert with SAN IPs
// "127.0.0.1" and "[::1]", expiring at the last second of 2049 (the end
// of ASN.1 time).
-// generated from src/pkg/crypto/tls:
+// generated from src/crypto/tls:
// go run generate_cert.go --rsa-bits 512 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
var localhostCert = []byte(`-----BEGIN CERTIFICATE-----
MIIBdzCCASOgAwIBAgIBADALBgkqhkiG9w0BAQUwEjEQMA4GA1UEChMHQWNtZSBD