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() {
|
func initDefaultCipherSuites() {
|
||||||
varDefaultCipherSuites = make([]uint16, len(cipherSuites))
|
varDefaultCipherSuites = make([]uint16, len(cipherSuites))
|
||||||
i := 0
|
i := 0
|
||||||
for id, _ := range cipherSuites {
|
for id := range cipherSuites {
|
||||||
varDefaultCipherSuites[i] = id
|
varDefaultCipherSuites[i] = id
|
||||||
i++
|
i++
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@ func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
|
|||||||
m.ocspStapling = rand.Intn(10) > 5
|
m.ocspStapling = rand.Intn(10) > 5
|
||||||
m.supportedPoints = randomBytes(rand.Intn(5)+1, rand)
|
m.supportedPoints = randomBytes(rand.Intn(5)+1, rand)
|
||||||
m.supportedCurves = make([]uint16, rand.Intn(5)+1)
|
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))
|
m.supportedCurves[i] = uint16(rand.Intn(30000))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user