mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 16:45:06 -05: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
@ -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…
Reference in New Issue
Block a user