cherry-pick https://go-review.googlesource.com/c/go/+/129755
This commit is contained in:
parent
81871bbad5
commit
e7a33a2dc3
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user