diff options
author | tb <> | 2021-01-06 20:15:35 +0000 |
---|---|---|
committer | tb <> | 2021-01-06 20:15:35 +0000 |
commit | 8c6ed1c8cf7a5d3ab7f23f2c6f3f95b345d4f5c4 (patch) | |
tree | 914e014524588444561f86d321167ed1a7faea6c /src/lib/libssl/tls12_record_layer.c | |
parent | a99f91343a365d71d137ae486285fdf049c5cf74 (diff) | |
download | openbsd-8c6ed1c8cf7a5d3ab7f23f2c6f3f95b345d4f5c4.tar.gz openbsd-8c6ed1c8cf7a5d3ab7f23f2c6f3f95b345d4f5c4.tar.bz2 openbsd-8c6ed1c8cf7a5d3ab7f23f2c6f3f95b345d4f5c4.zip |
Use tls13_secret_{init,cleanup}() for the finished_key
This trades an array on the stack for a dynamically allocated secret in
tls13_{client,server}_finished_send() but has the benefit of wiping out
an intermediate secret on function exit.
ok jsing
Diffstat (limited to 'src/lib/libssl/tls12_record_layer.c')
0 files changed, 0 insertions, 0 deletions