diff --git a/handshake_messages_test.go b/handshake_messages_test.go index 9ab291c..5c67a2d 100644 --- a/handshake_messages_test.go +++ b/handshake_messages_test.go @@ -205,7 +205,7 @@ func (*serverHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value { numSCTs := rand.Intn(4) m.scts = make([][]byte, numSCTs) for i := range m.scts { - m.scts[i] = randomBytes(rand.Intn(500), rand) + m.scts[i] = randomBytes(rand.Intn(500)+1, rand) } }