diff options
author | jsing <> | 2021-01-13 18:20:54 +0000 |
---|---|---|
committer | jsing <> | 2021-01-13 18:20:54 +0000 |
commit | 9a0dba9f6be22dea02c323e4d3a7d4a5dde36ea4 (patch) | |
tree | 65b71b1e9d3928028351a0aee3a2d427b47d8dff /src/lib/libc/net/inet_net_pton.c | |
parent | 4f375cd7c6652350830e386787ddf80aedd74b45 (diff) | |
download | openbsd-9a0dba9f6be22dea02c323e4d3a7d4a5dde36ea4.tar.gz openbsd-9a0dba9f6be22dea02c323e4d3a7d4a5dde36ea4.tar.bz2 openbsd-9a0dba9f6be22dea02c323e4d3a7d4a5dde36ea4.zip |
Clean up sequence number handing in the new TLSv1.2 record layer.
Handle protocol specific (DTLS vs TLS) sequence number differences in the
open/seal record functions and propagate the sequence number through to
the called functions. This means that DTLS specific knowledge is limited
to two functions and also avoids building sequence numbers multiple times
over. As a result, the DTLS explicit sequence number is now extracted from
the record header and passed through for processing, which makes the read
epoch handling redundant.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libc/net/inet_net_pton.c')
0 files changed, 0 insertions, 0 deletions