diff options
author | Rich Salz <rsalz@akamai.com> | 2021-04-20 14:14:00 -0400 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-22 17:50:16 +0200 |
commit | ef7ae359109c7c4edb252523d5ab1467ae1d2110 (patch) | |
tree | 66b42ee09c0de4451b68cef5efd31259497c4727 /apps/ocsp.c | |
parent | 64c609e71ef1f0c759dfdf65719e650d04dd5f29 (diff) |
Read a REQUEST not RESPONSE in ocsp responder
Fixes: #13904
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14946)
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r-- | apps/ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index a4d2e63654..fbc9cf46f4 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -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 |