If we ever forget to fill it in the randoms, they'll end up all zero. Particularly at the ClientHello, that logic is getting increasingly far away from ClientHello serialization, so add a test to make sure we notice. (This will flakily fail with probability 2^-256, which is reasonably unlikely.) Change-Id: I81f32fd96dbccf377cb92198a222b557ab66976b Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/47665 Reviewed-by: Adam Langley <agl@google.com>chromium-5359
parent
b778b9c1b3
commit
aef0a88e51
3 changed files with 25 additions and 0 deletions
Loading…
Reference in new issue