This commit is contained in:
Marten Seemann 2018-08-17 18:33:23 +07:00 committed by Kris Kwiatkowski
parent 81871bbad5
commit e7a33a2dc3

View File

@ -205,7 +205,7 @@ func (*serverHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
numSCTs := rand.Intn(4) numSCTs := rand.Intn(4)
m.scts = make([][]byte, numSCTs) m.scts = make([][]byte, numSCTs)
for i := range m.scts { for i := range m.scts {
m.scts[i] = randomBytes(rand.Intn(500), rand) m.scts[i] = randomBytes(rand.Intn(500)+1, rand)
} }
} }