CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2020/10/13 12:25:35
Modified files: usr.bin/openssl: ocsp.c Log message: 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