The branch master has been updated via dcc780cf8d03309e62e5c135f250bd4fd0b7fe41 (commit) from 422da9bbfb739a5d42292c990c0b81552060d5a2 (commit)
- Log ----------------------------------------------------------------- commit dcc780cf8d03309e62e5c135f250bd4fd0b7fe41 Author: jwalch <jeremy.wa...@gmail.com> Date: Tue May 25 19:43:23 2021 -0400 Fix OCSP_sendreq_nbio arg order Fixes #15470 Reviewed-by: Richard Levitte <levi...@openssl.org> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15471) ----------------------------------------------------------------------- Summary of changes: include/openssl/ocsp.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openssl/ocsp.h.in b/include/openssl/ocsp.h.in index 869c3ad415..a9ff4e565c 100644 --- a/include/openssl/ocsp.h.in +++ b/include/openssl/ocsp.h.in @@ -189,7 +189,7 @@ typedef OSSL_HTTP_REQ_CTX OCSP_REQ_CTX; OCSP_REQ_CTX_i2d(r, ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)(req)) # define OCSP_REQ_CTX_nbio OSSL_HTTP_REQ_CTX_nbio # define OCSP_REQ_CTX_nbio_d2i OSSL_HTTP_REQ_CTX_nbio_d2i -# define OCSP_sendreq_nbio(r, p) \ +# define OCSP_sendreq_nbio(p, r) \ OSSL_HTTP_REQ_CTX_nbio_d2i(r, (ASN1_VALUE **)(p), \ ASN1_ITEM_rptr(OCSP_RESPONSE)) # define OCSP_REQ_CTX_get0_mem_bio OSSL_HTTP_REQ_CTX_get0_mem_bio