From 4d190f99ef1b6fa8c49ca1fd9bda872e5f51ec93 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 29 Jan 2021 19:08:45 +0100 Subject: Constify OSSL_HTTP_REQ_CTX_get0_mem_bio() Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/13960) --- include/openssl/http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/openssl/http.h b/include/openssl/http.h index 8f9e8c4cfa..6c3ddd8ce8 100644 --- a/include/openssl/http.h +++ b/include/openssl/http.h @@ -55,7 +55,7 @@ int OSSL_HTTP_REQ_CTX_i2d(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx); ASN1_VALUE *OSSL_HTTP_REQ_CTX_sendreq_d2i(OSSL_HTTP_REQ_CTX *rctx, const ASN1_ITEM *it); -BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(OSSL_HTTP_REQ_CTX *rctx); +BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(const OSSL_HTTP_REQ_CTX *rctx); void OSSL_HTTP_REQ_CTX_set_max_response_length(OSSL_HTTP_REQ_CTX *rctx, unsigned long len); -- cgit v1.2.3