Skip to content

mbedtls: fix build with disabled proxy support#5615

Closed
baruchsiach wants to merge 1 commit intocurl:masterfrom
baruchsiach:fix-no-proxy-mbedtls
Closed

mbedtls: fix build with disabled proxy support#5615
baruchsiach wants to merge 1 commit intocurl:masterfrom
baruchsiach:fix-no-proxy-mbedtls

Conversation

@baruchsiach
Copy link
Copy Markdown
Contributor

Don't reference fields that do not exist. Fixes build failure:

vtls/mbedtls.c: In function 'mbed_connect_step1':
vtls/mbedtls.c:249:54: error: 'struct connectdata' has no member named 'http_proxy'
const char * const hostname = SSL_IS_PROXY() ? conn->http_proxy.host.name :
^~

Don't reference fields that do not exist. Fixes build failure:

vtls/mbedtls.c: In function 'mbed_connect_step1':
vtls/mbedtls.c:249:54: error: 'struct connectdata' has no member named 'http_proxy'
   const char * const hostname = SSL_IS_PROXY() ? conn->http_proxy.host.name :
                                                      ^~
@bagder
Copy link
Copy Markdown
Member

bagder commented Jun 26, 2020

Thanks!

@bagder bagder closed this in 989e6df Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants