From dcc780cf8d03309e62e5c135f250bd4fd0b7fe41 Mon Sep 17 00:00:00 2001 From: jwalch Date: Tue, 25 May 2021 19:43:23 -0400 Subject: Fix OCSP_sendreq_nbio arg order Fixes #15470 Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15471) --- include/openssl/ocsp.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3