diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-04-25 17:59:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-04-25 22:34:40 +0200 |
commit | 139a54ed0a172adaaf1a78d6f4fff50b2c3f9e08 (patch) | |
tree | 10143a686295e7dfdc881ed6e3fa20fd2afc8f7d /lib/http.h | |
parent | aad7d9f9a63ab34a9cce20b4701c4315d26dc64b (diff) | |
download | curl-139a54ed0a172adaaf1a78d6f4fff50b2c3f9e08.tar.gz |
openssl: don't leak the SRP credentials in redirects either
Follow-up to 620ea21410030
Reported-by: Harry Sintonen
Closes #8751
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h index 0972261e6..c4ab3c22d 100644 --- a/lib/http.h +++ b/lib/http.h @@ -364,4 +364,10 @@ Curl_http_output_auth(struct Curl_easy *data, bool proxytunnel); /* TRUE if this is the request setting up the proxy tunnel */ +/* + * Curl_allow_auth_to_host() tells if authentication, cookies or other + * "sensitive data" can (still) be sent to this host. + */ +bool Curl_allow_auth_to_host(struct Curl_easy *data); + #endif /* HEADER_CURL_HTTP_H */ |