summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls12_key_schedule.c
diff options
context:
space:
mode:
authorjsing <>2021-05-02 17:18:10 +0000
committerjsing <>2021-05-02 17:18:10 +0000
commit74ea211ec5e7b4700067e49d7703512760086ab8 (patch)
tree635d2be6e673bbc73bbd4e14d51b19d0a5a629a1 /src/lib/libssl/tls12_key_schedule.c
parentfd4dbd5fe6f9115e21352ba8bf2af64733fefecd (diff)
downloadopenbsd-74ea211ec5e7b4700067e49d7703512760086ab8.tar.gz
openbsd-74ea211ec5e7b4700067e49d7703512760086ab8.tar.bz2
openbsd-74ea211ec5e7b4700067e49d7703512760086ab8.zip
Clean up dtls1_reset_seq_numbers().
Rather than doing flag gymnastics, split dtls1_reset_seq_numbers() into separate read and write functions. Move the calls of these functions into tls1_change_cipher_state() so they directly follow the change of cipher state in the record layer, which avoids having to duplicate the calls in the client and server. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/tls12_key_schedule.c')
0 files changed, 0 insertions, 0 deletions