diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-08-01 16:50:17 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-08-01 16:50:17 +0000 |
commit | f4356c8d157b8d980cd0e10760a6edd3e67ab30e (patch) | |
tree | cf061f1ea261e8872eafb9312906ef576a222156 /sys/netmpls/mpls_raw.c | |
parent | 755d4c623039c982d3c0355a9221c16334576604 (diff) |
Clean up/simplify more of the dtls1/ssl3 record writing code:
- Make the DTLS code much more consistent with the ssl3 code.
- Avoid assigning wr->input and wr->length just so they can be used as
arguments to memcpy().
- Remove the arc4random_buf() call for the explicit IV, since tls1_enc()
already does this for us.
ok tb@
Diffstat (limited to 'sys/netmpls/mpls_raw.c')
0 files changed, 0 insertions, 0 deletions