mirror of
https://github.com/curl/curl.git
synced 2026-04-18 03:01:42 +03:00
vtls: fix addsessionid for non-proxy builds
Follow-up to b09c8ee157
Fixes #6812
Closes #6811
This commit is contained in:
parent
9d4f21b190
commit
2c26eeef12
1 changed files with 0 additions and 3 deletions
|
|
@ -504,11 +504,8 @@ CURLcode Curl_ssl_addsessionid(struct Curl_easy *data,
|
|||
const char *hostname = isProxy ? conn->http_proxy.host.name :
|
||||
conn->host.name;
|
||||
#else
|
||||
/* proxy support disabled */
|
||||
const bool isProxy = FALSE;
|
||||
struct ssl_primary_config * const ssl_config = &conn->ssl_config;
|
||||
const char *hostname = conn->host.name;
|
||||
(void)sockindex;
|
||||
#endif
|
||||
(void)sockindex;
|
||||
DEBUGASSERT(SSL_SET_OPTION(primary.sessionid));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue