diff options
author | tb <> | 2020-10-13 18:25:35 +0000 |
---|---|---|
committer | tb <> | 2020-10-13 18:25:35 +0000 |
commit | 87c965f270f1392a6fca6ec56300842a90b005e0 (patch) | |
tree | e02b112b792bf6921d8e95533a246a387ea07426 /src/usr.bin/openssl/s_client.c | |
parent | 60521e1f94c8f7c93ad95d704b47995782d72ef5 (diff) | |
download | openbsd-87c965f270f1392a6fca6ec56300842a90b005e0.tar.gz openbsd-87c965f270f1392a6fca6ec56300842a90b005e0.tar.bz2 openbsd-87c965f270f1392a6fca6ec56300842a90b005e0.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 'src/usr.bin/openssl/s_client.c')
0 files changed, 0 insertions, 0 deletions