summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
authortb <>2022-10-14 06:56:33 +0000
committertb <>2022-10-14 06:56:33 +0000
commitfcd92a15935245e973ad525798718590262c6a83 (patch)
tree3cf34b9f01d3b82d3a9a378ab1589be712c889e1 /src/lib/libc/stdlib/exit.c
parentb645f2b4bb773550337fd6ab6965c7fc96dc9c62 (diff)
downloadopenbsd-fcd92a15935245e973ad525798718590262c6a83.tar.gz
openbsd-fcd92a15935245e973ad525798718590262c6a83.tar.bz2
openbsd-fcd92a15935245e973ad525798718590262c6a83.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/libc/stdlib/exit.c')
0 files changed, 0 insertions, 0 deletions