diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-06-12 17:43:15 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-06-16 14:36:01 +0100 |
commit | ab9d67efa4c2a4ee6787430a447de675cb78c8e2 (patch) | |
tree | 8a7a336f91247b9f45e13f48980084a4ed2a68ce /include | |
parent | eefdb8e013fa9d0881566b41291c5725a77b332a (diff) | |
download | openssl-new-ab9d67efa4c2a4ee6787430a447de675cb78c8e2.tar.gz |
HTTP client: fix use of OSSL_HTTP_adapt_proxy(), which is needed also in cmp.c
For this reason, export this function, which allows removing http_local.h
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15764)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/http.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/http.h b/include/openssl/http.h index fb05280f87..f7ab214265 100644 --- a/include/openssl/http.h +++ b/include/openssl/http.h @@ -100,6 +100,8 @@ int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, int OSSL_HTTP_parse_url(const char *url, int *pssl, char **puser, char **phost, char **pport, int *pport_num, char **ppath, char **pquery, char **pfrag); +const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, + const char *server, int use_ssl); # ifdef __cplusplus } |