Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/tls: Fix nil dereference in greased ECH acceptance signal
When greasing the ECH acceptance signal in the HRR, the server uses `c.config.Rand`, which may be `nil`. This prevents the nil dereference by using `c.config.rand()`, which first checks if `c.config.Rand == nil`'. This bug was found when interop testing with boringSSL.
- Loading branch information