summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-01-29 19:08:45 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-02-02 07:54:37 +0100
commit4d190f99ef1b6fa8c49ca1fd9bda872e5f51ec93 (patch)
tree1a35ecb13d1b6aa3649935648074d3e158b43600 /include
parentHTTP: add more error detection to low-level API (diff)
downloadopenssl-4d190f99ef1b6fa8c49ca1fd9bda872e5f51ec93.tar.xz
openssl-4d190f99ef1b6fa8c49ca1fd9bda872e5f51ec93.zip
Constify OSSL_HTTP_REQ_CTX_get0_mem_bio()
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13960)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/http.h2
1 files changed, 1 insertions, 1 deletions
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);