← Commit list

7f7e4e3e68

Stefan Eissing
Stefan Eissing
2026-05-13
SUCCESS Duration: 214s

Subject

creds: create on service name only

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/url.c+2 -1
@@ -1436,8 +1436,9 @@ static CURLcode url_set_data_creds(struct Curl_easy *data,
Curl_creds_unlink(&data->state.creds);
if((data->set.str[STRING_USERNAME] ||
data->set.str[STRING_PASSWORD] ||
+ data->set.str[STRING_BEARER] ||
data->set.str[STRING_SASL_AUTHZID] ||
- data->set.str[STRING_BEARER]) &&
+ data->set.str[STRING_SERVICE_NAME]) &&
(data->set.allow_auth_to_other_hosts ||
Curl_peer_same_destination(data->state.initial_origin, conn->origin))) {
result = Curl_creds_create(data->set.str[STRING_USERNAME],