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

building with --disable-http-auth fails with "undefined reference to `Curl_allow_auth_to_host'" #8772

Closed
michaelolbrich opened this issue Apr 29, 2022 · 1 comment

Comments

@michaelolbrich
Copy link

@michaelolbrich michaelolbrich commented Apr 29, 2022

I did this

configure with --disable-http-auth

I expected the following

building curl shoud succeed

curl/libcurl version

7.83.0

The problem is here:

curl/lib/http.c

Line 1920 in 685170b

!Curl_allow_auth_to_host(data))

This call to Curl_allow_auth_to_host() is not protected by a CURL_DISABLE_HTTP_AUTH check but the implementation of the function is.

@bagder bagder self-assigned this Apr 29, 2022
bagder added a commit that referenced this issue Apr 29, 2022
It was mistakenly put within the CURL_DISABLE_HTTP_AUTH #ifdef

Reported-by: Michael Olbrich
Fixes #8772
@bagder
Copy link
Member

@bagder bagder commented Apr 29, 2022

Fixed in commit d7b970e

@bagder bagder closed this as completed Apr 29, 2022
kadler pushed a commit to kadler/curl that referenced this issue Apr 29, 2022
It was mistakenly put within the CURL_DISABLE_HTTP_AUTH #ifdef

Reported-by: Michael Olbrich
Fixes curl#8772
Closes curl#8775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants