-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dtls.c: Send 32 bytes of random data in Hello messages
Section 12 of RFC 7925 recommends that the gmt_unix_time in the random field of the ClientHello and ServerHello messages should be treated as an opaque random string. As RFC 8446 completely removes the gmt_unix_time in favor of four more random bytes, this change fills these fields with 32 bytes of random data. Change-Id: I79b38f635f868d1ee390f5dcf8f5c72140a397d7
- Loading branch information
Showing
1 changed file
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters