summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_methods.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-10-13 18:25:35 +0000
committertb <tb@openbsd.org>2020-10-13 18:25:35 +0000
commit7b6095445728dad7d8b132daf6e00f89170b1ae2 (patch)
tree5c37f16415c3ffe30c0f703951448e246db254aa /lib/libssl/ssl_methods.c
parentsetitimer(2): zero itv.it_interval if itv.it_value is zero (diff)
downloadwireguard-openbsd-7b6095445728dad7d8b132daf6e00f89170b1ae2.tar.xz
wireguard-openbsd-7b6095445728dad7d8b132daf6e00f89170b1ae2.zip
Make sure an OCSP query sends a host header
While OCSP uses HTTP/1.0 where a host header is optional, some widely used OCSP responders will return 400 bad request if it is missing. Add such a header unless it's already provided in the user's custom headers. OpenSSL did something similar in ff4a9394a23 and 76e0cd12f68 (both commits are under the old license) ok inoguchi
Diffstat (limited to 'lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions