summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_both.c
diff options
context:
space:
mode:
authorjsing <>2021-04-30 19:26:45 +0000
committerjsing <>2021-04-30 19:26:45 +0000
commit17bb84e0c57715e08a729de5661c946f0938d11c (patch)
tree3facea5851b6c8afd6d09865048a1f9e6e0c0c8b /src/lib/libssl/ssl_both.c
parenta66b36a2f24d88df05286221d7505684f419131d (diff)
downloadopenbsd-17bb84e0c57715e08a729de5661c946f0938d11c.tar.gz
openbsd-17bb84e0c57715e08a729de5661c946f0938d11c.tar.bz2
openbsd-17bb84e0c57715e08a729de5661c946f0938d11c.zip
Clean up and harden TLSv1.2 master key derivation.
The master key and its length are only stored in one location, so it makes no sense to handle these outside of the derivation function (the current 'out' argument is unused). This simplifies the various call sites. If derivation fails for some reason, fail hard rather than continuing on and hoping that something deals with this correctly later. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_both.c')
0 files changed, 0 insertions, 0 deletions