http: fix CURL_DISABLE_BEARER_AUTH breakage

When bearer auth was disabled, the if/else logic got wrong and caused
problems.

Follow-up to e92edfbef6
Fixes #11892
Reported-by: Aleksander Mazur
Closes #11895
This commit is contained in:
Daniel Stenberg 2023-09-20 08:46:56 +02:00
parent 452182332d
commit 0d3956b8c6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1139,6 +1139,8 @@ CURLcode Curl_http_input_auth(struct Curl_easy *data, bool proxy,
data->state.authproblem = TRUE;
}
}
#else
;
#endif
/* there may be multiple methods on one line, so keep reading */