summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac/hmac.h
diff options
context:
space:
mode:
authorjca <>2025-12-08 13:30:08 +0000
committerjca <>2025-12-08 13:30:08 +0000
commit2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25 (patch)
tree4cd0b4bac0df189379851682a739ad008f0828a6 /src/lib/libcrypto/hmac/hmac.h
parent060807bc824ed30baf14bd749db43e4d90d310ad (diff)
downloadopenbsd-2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25.tar.gz
openbsd-2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25.tar.bz2
openbsd-2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25.zip
Do not crash when calling freeaddrinfo(NULL)
Supported by Linux since at least 1997, and FreeBSD since 2017. While not defined, there's no real good reason to crash when we could just cope. Indeed, software out there relies on the Linux behavior. Point out in the manpage that the behavior of getaddrinfo(NULL) isn't defined and thus isn't portable. Edge case spotted recently by kn@ in OpenVPN. ok millert@ djm@ deraadt@ kn@
Diffstat (limited to 'src/lib/libcrypto/hmac/hmac.h')
0 files changed, 0 insertions, 0 deletions