summaryrefslogtreecommitdiffstats
path: root/crypto/http
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-03-20 22:17:46 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-03-26 13:22:41 +0100
commit1c8505fb7d68fb9c02fac6c11f56bffe6173fc88 (patch)
treedda3ae4597a5ba48a76a1242045b1fcd5f312dbe /crypto/http
parent814581bb7a1360ee054ad3500cd0907fbfeef915 (diff)
HTTP: Rename OSSL_HTTP_REQ_CTX_i2d() to OSSL_HTTP_REQ_CTX_set1_req()
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14677)
Diffstat (limited to 'crypto/http')
-rw-r--r--crypto/http/http_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/http/http_client.c b/crypto/http/http_client.c
index 1d08c41052..744346adbf 100644
--- a/crypto/http/http_client.c
+++ b/crypto/http/http_client.c
@@ -247,8 +247,8 @@ BIO *ossl_http_asn1_item2bio(const ASN1_ITEM *it, const ASN1_VALUE *val)
return res;
}
-int OSSL_HTTP_REQ_CTX_i2d(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
- const ASN1_ITEM *it, ASN1_VALUE *req)
+int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
+ const ASN1_ITEM *it, ASN1_VALUE *req)
{
BIO *mem;
int res;