go/printer: changed max. number of newlines from 3 to 2
manual changes in src/pkg/go/printer, src/cmd/gofix/signal_test.go (cd src/cmd/gofix/testdata; gofmt -w *.in *.out) (cd src/pkg/go/printer; gotest -update) gofmt -w misc src runs all tests R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4715041
This commit is contained in:
parent
9c8b32c2d6
commit
5085d142c2
@ -106,7 +106,6 @@ func TestClose(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func testServerScript(t *testing.T, name string, serverScript [][]byte, config *Config) {
|
func testServerScript(t *testing.T, name string, serverScript [][]byte, config *Config) {
|
||||||
c, s := net.Pipe()
|
c, s := net.Pipe()
|
||||||
srv := Server(s, config)
|
srv := Server(s, config)
|
||||||
|
@ -78,7 +78,6 @@ func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, clientHello
|
|||||||
return preMasterSecret, ckx, nil
|
return preMasterSecret, ckx, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// md5SHA1Hash implements TLS 1.0's hybrid hash function which consists of the
|
// md5SHA1Hash implements TLS 1.0's hybrid hash function which consists of the
|
||||||
// concatenation of an MD5 and SHA1 hash.
|
// concatenation of an MD5 and SHA1 hash.
|
||||||
func md5SHA1Hash(slices ...[]byte) []byte {
|
func md5SHA1Hash(slices ...[]byte) []byte {
|
||||||
|
Loading…
Reference in New Issue
Block a user