The branch master has been updated
       via  ef7ae359109c7c4edb252523d5ab1467ae1d2110 (commit)
      from  64c609e71ef1f0c759dfdf65719e650d04dd5f29 (commit)


- Log -----------------------------------------------------------------
commit ef7ae359109c7c4edb252523d5ab1467ae1d2110
Author: Rich Salz <rs...@akamai.com>
Date:   Tue Apr 20 14:14:00 2021 -0400

    Read a REQUEST not RESPONSE in ocsp responder
    
    Fixes: #13904
    
    Reviewed-by: Richard Levitte <levi...@openssl.org>
    Reviewed-by: Tomas Mraz <to...@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14946)

-----------------------------------------------------------------------

Summary of changes:
 apps/ocsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to