diff options
author | tb <> | 2022-10-14 06:56:33 +0000 |
---|---|---|
committer | tb <> | 2022-10-14 06:56:33 +0000 |
commit | fcd92a15935245e973ad525798718590262c6a83 (patch) | |
tree | 3cf34b9f01d3b82d3a9a378ab1589be712c889e1 /src/lib/libc/stdlib/realpath.c | |
parent | b645f2b4bb773550337fd6ab6965c7fc96dc9c62 (diff) | |
download | openbsd-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/realpath.c')
0 files changed, 0 insertions, 0 deletions