summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authortb <>2022-10-14 06:56:33 +0000
committertb <>2022-10-14 06:56:33 +0000
commit4afadc9acdc3f71ccd29daea6ad1b6aaeb47af1b (patch)
tree3cf34b9f01d3b82d3a9a378ab1589be712c889e1 /src/lib/libssl/tls13_lib.c
parentfa629fb86c1178c43a56145cd374cbe7e8948275 (diff)
downloadopenbsd-4afadc9acdc3f71ccd29daea6ad1b6aaeb47af1b.tar.gz
openbsd-4afadc9acdc3f71ccd29daea6ad1b6aaeb47af1b.tar.bz2
openbsd-4afadc9acdc3f71ccd29daea6ad1b6aaeb47af1b.zip
Error out if the out secret wasn't properly initialized
Calling HKDF_expand() with a length of 0 happens to succeed due to a quirk in the API inherited from BoringSSL. This hides caller-side errors during development. Error out to catch such mistakes early on. ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_lib.c')
0 files changed, 0 insertions, 0 deletions