summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_signer.c
diff options
context:
space:
mode:
authortb <>2024-06-01 07:36:17 +0000
committertb <>2024-06-01 07:36:17 +0000
commit0cd26255605cab2a8643bb8585c4148069240e3c (patch)
treed92a9fa364845580193b9ab3f5f391408342fa26 /src/lib/libtls/tls_signer.c
parent31276a6e8ec689c1b9317a14b7e50282982b2150 (diff)
downloadopenbsd-0cd26255605cab2a8643bb8585c4148069240e3c.tar.gz
openbsd-0cd26255605cab2a8643bb8585c4148069240e3c.tar.bz2
openbsd-0cd26255605cab2a8643bb8585c4148069240e3c.zip
Remove support for static buffers in HMAC/digests
HMAC() and the one-step digests used to support passing a NULL buffer and would return the digest in a static buffer. This design is firmly from the nineties, not thread safe and it saves callers a single line. The few ports that used to rely this were fixed with patches sent to non-hostile (and non-dead) upstreams. It's early enough in the release cycle that remaining uses hidden from the compiler should be caught, at least the ones that matter. There won't be that many since BoringSSL removed this feature in 2017. https://boringssl-review.googlesource.com/14528 Add non-null attributes to the headers and add a few missing bounded attributes. ok beck jsing
Diffstat (limited to 'src/lib/libtls/tls_signer.c')
0 files changed, 0 insertions, 0 deletions