]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/http/http_local.h
Constify 'req' parameter of OSSL_HTTP_post_asn1()
[thirdparty/openssl.git] / crypto / http / http_local.h
index 64b475b818c7e81c6eae6a9133175fef0cfb08c6..729d24e47ff2bdd9e26e6cae47c8bda8629fb83b 100644 (file)
@@ -27,7 +27,7 @@ typedef OCSP_REQ_CTX OSSL_HTTP_REQ_CTX;
 # define OSSL_HTTP_REQ_CTX_get0_mem_bio OCSP_REQ_CTX_get0_mem_bio /* undoc'd */
 # define OSSL_HTTP_REQ_CTX_set_max_response_length OCSP_set_max_response_length
 
-BIO *HTTP_asn1_item2bio(const ASN1_ITEM *it, ASN1_VALUE *val);
+BIO *HTTP_asn1_item2bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
 OSSL_HTTP_REQ_CTX *HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int use_http_proxy,
                                     const char *server, const char *port,
                                     const char *path,