summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authortb <>2021-01-09 10:34:29 +0000
committertb <>2021-01-09 10:34:29 +0000
commitda5ab60e604de7c7f22df99fa6f45c0328d48ab6 (patch)
treedcd75b439ed8bb23d57579666ed25e4eb54c30c8 /src/lib/libc/stdlib/reallocarray.c
parent6024e76ee2a1f06ab19a72b9a40a78aa7265d0a5 (diff)
downloadopenbsd-da5ab60e604de7c7f22df99fa6f45c0328d48ab6.tar.gz
openbsd-da5ab60e604de7c7f22df99fa6f45c0328d48ab6.tar.bz2
openbsd-da5ab60e604de7c7f22df99fa6f45c0328d48ab6.zip
Align SSL_get_shared_ciphers() with OpenSSL
SSL_get_shared_ciphers() has been quite broken forever (see BUGS). What's maybe even worse than those bugs is that it only ever returned the string representing the client's ciphers which happen to fit into buf. That's kind of odd, given its name. This commit brings it in line with OpenSSL's version which changed behavior almost three years ago. reviewed and stupid bug caught by schwarze ok beck inoguchi jsing commit a216df599a6076147c27acea6c976fb11f505b1a Author: Matt Caswell <matt@openssl.org> Date: Fri Apr 27 11:20:52 2018 +0100 Fix SSL_get_shared_ciphers() The function SSL_get_shared_ciphers() is supposed to return ciphers shared by the client and the server. However it only ever returned the client ciphers. Fixes #5317 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6113)
Diffstat (limited to 'src/lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions