Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbedtls: fix build with disabled proxy support #5615

Closed
wants to merge 1 commit into from

Conversation

baruchsiach
Copy link
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
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.

None yet

2 participants