Read a REQUEST not RESPONSE in ocsp responder
Fixes:
@@ -1165,7 +1165,7 @@ static int do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio,
int timeout)
{
#ifndef OPENSSL_NO_SOCK
- return http_server_get_asn1_req(ASN1_ITEM_rptr(OCSP_RESPONSE),
+ return http_server_get_asn1_req(ASN1_ITEM_rptr(OCSP_REQUEST),
(ASN1_VALUE **)preq, NULL, pcbio, acbio,
prog, 1 /* accept_get */, timeout);
#else
