On 2020/01/11 18:23, Jeremie Courreges-Anglas wrote: > > Great, this change is definitely safe (in fact this header is required > > by the OCSP RFCs - both the current RFC 6960 and the original 2560). > > > > I'll reinclude the diff so it applies with patch (spaces/tabs issue) > > and CC a couple of people who may be able to review - any developer OKs > > to commit? > > ok jca@
Thanks - committed. > > Index: http.c > > =================================================================== > > RCS file: /cvs/src/usr.sbin/ocspcheck/http.c,v > > retrieving revision 1.12 > > diff -u -p -r1.12 http.c > > --- http.c 28 Jun 2019 13:32:49 -0000 1.12 > > +++ http.c 11 Jan 2020 16:36:10 -0000 > > @@ -349,6 +349,7 @@ http_open(const struct http *http, const > > c = asprintf(&req, > > "POST %s HTTP/1.0\r\n" > > "Host: %s\r\n" > > + "Content-Type: application/ocsp-request\r\n" > > "Content-Length: %zu\r\n" > > "\r\n", > > http->path, http->host, psz); > > > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE >
