diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-05-11 15:45:22 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-14 19:24:42 +0200 |
commit | 647a5dbf10227d65919b49d078da4eaca313f921 (patch) | |
tree | 308c8dfb9fbc850077796579e14b9476b6966b88 /apps/lib | |
parent | e2c38c1a4e034f3fac817870902db6d8bc117119 (diff) |
Add OSSL_ prefix to HTTP_DEFAULT_MAX_{LINE_LENGTH,RESP_LEN}
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15053)
Diffstat (limited to 'apps/lib')
-rw-r--r-- | apps/lib/apps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c index d32f6c5490..fa63410359 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -2504,7 +2504,7 @@ ASN1_VALUE *app_http_get_asn1(const char *url, const char *proxy, mem = OSSL_HTTP_get(url, proxy, no_proxy, NULL /* bio */, NULL /* rbio */, app_http_tls_cb, &info, 0 /* buf_size */, headers, expected_content_type, 1 /* expect_asn1 */, - HTTP_DEFAULT_MAX_RESP_LEN, timeout); + OSSL_HTTP_DEFAULT_MAX_RESP_LEN, timeout); resp = ASN1_item_d2i_bio(it, mem, NULL); BIO_free(mem); @@ -2540,7 +2540,7 @@ ASN1_VALUE *app_http_post_asn1(const char *host, const char *port, app_http_tls_cb, &info, 0 /* buf_size */, headers, content_type, req_mem, expected_content_type, 1 /* expect_asn1 */, - HTTP_DEFAULT_MAX_RESP_LEN, timeout, + OSSL_HTTP_DEFAULT_MAX_RESP_LEN, timeout, 0 /* keep_alive */); BIO_free(req_mem); res = ASN1_item_d2i_bio(rsp_it, rsp, NULL); |