gofmt: gofmt -s -w src misc
R=r, bradfitzwork CC=golang-dev https://golang.org/cl/4406044
This commit is contained in:
parent
32d22d1fb1
commit
8cf428d710
@ -255,7 +255,7 @@ var varDefaultCipherSuites []uint16
|
||||
func initDefaultCipherSuites() {
|
||||
varDefaultCipherSuites = make([]uint16, len(cipherSuites))
|
||||
i := 0
|
||||
for id, _ := range cipherSuites {
|
||||
for id := range cipherSuites {
|
||||
varDefaultCipherSuites[i] = id
|
||||
i++
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
|
||||
m.ocspStapling = rand.Intn(10) > 5
|
||||
m.supportedPoints = randomBytes(rand.Intn(5)+1, rand)
|
||||
m.supportedCurves = make([]uint16, rand.Intn(5)+1)
|
||||
for i, _ := range m.supportedCurves {
|
||||
for i := range m.supportedCurves {
|
||||
m.supportedCurves[i] = uint16(rand.Intn(30000))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user