diff options
author | jwalch <jeremy.walch@gmail.com> | 2021-05-25 19:43:23 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-27 13:20:38 +1000 |
commit | dcc780cf8d03309e62e5c135f250bd4fd0b7fe41 (patch) | |
tree | c1c968f221c5f62813be219e5827cf18da816065 /include | |
parent | 422da9bbfb739a5d42292c990c0b81552060d5a2 (diff) |
Fix OCSP_sendreq_nbio arg order
Fixes #15470
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15471)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ocsp.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |