summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc
diff options
context:
space:
mode:
authorjsing <>2020-02-05 17:30:30 +0000
committerjsing <>2020-02-05 17:30:30 +0000
commit7e6bc3834f295c86c77088f3b791ba774d733b5e (patch)
tree24698e90dd97dec3b0a0fe94f34f034aa56498f6 /src/regress/lib/libc
parent07ea61878ac6d6bcacd99b33edf34046f1fd076b (diff)
downloadopenbsd-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/regress/lib/libc')
0 files changed, 0 insertions, 0 deletions