diff options
author | jsing <> | 2020-02-05 17:30:30 +0000 |
---|---|---|
committer | jsing <> | 2020-02-05 17:30:30 +0000 |
commit | 7e6bc3834f295c86c77088f3b791ba774d733b5e (patch) | |
tree | 24698e90dd97dec3b0a0fe94f34f034aa56498f6 /src/lib/libc/stdlib/strtonum.c | |
parent | 07ea61878ac6d6bcacd99b33edf34046f1fd076b (diff) | |
download | openbsd-7e6bc3834f295c86c77088f3b791ba774d733b5e.tar.gz openbsd-7e6bc3834f295c86c77088f3b791ba774d733b5e.tar.bz2 openbsd-7e6bc3834f295c86c77088f3b791ba774d733b5e.zip |
Refactor the server hello processing code in the TLSv1.3 client.
Use flags to signal the need to switch to the legacy client and to identify
a hello retry request. This allows the caller to take appropriate action,
rather than trying to do this in the parsing/processing code.
Split the key deriviation and record protection engagement code into a
separate function, both for readability and reuse.
Change handshake states outside of the processing code.
ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/strtonum.c')
0 files changed, 0 insertions, 0 deletions