summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authortb <>2022-06-07 17:14:17 +0000
committertb <>2022-06-07 17:14:17 +0000
commit182b632acf004abe96fd6a758f6a6a8806a207cf (patch)
treedb2ad61994de76e45fc2e43320edb725cf093600 /src/usr.bin
parent0338dfd70caeed3b09fb2a9b023fad29068336ac (diff)
downloadopenbsd-182b632acf004abe96fd6a758f6a6a8806a207cf.tar.gz
openbsd-182b632acf004abe96fd6a758f6a6a8806a207cf.tar.bz2
openbsd-182b632acf004abe96fd6a758f6a6a8806a207cf.zip
Add error checking to tls_session_secret_cb() calls
Failure of this undocumented callback was previously silently ignored. Follow OpenSSL's behavior and throw an internal error (for lack of a better choice) if the callback failed or if it set the master_key_length to a negative number. Unindent the success path and clean up some strange idioms. ok jsing
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions