creds: remove two unused functions

Curl_creds_same_user and Curl_creds_same_password

Closes #21776
This commit is contained in:
Daniel Stenberg 2026-05-27 15:45:50 +02:00
parent 7bc2bf7917
commit 98431e89bb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 0 additions and 12 deletions

View file

@ -149,16 +149,6 @@ void Curl_creds_unlink(struct Curl_creds **pcreds)
}
}
bool Curl_creds_same_user(struct Curl_creds *creds, const char *user)
{
return creds && !Curl_timestrcmp(creds->user, user);
}
bool Curl_creds_same_passwd(struct Curl_creds *creds, const char *passwd)
{
return creds && !Curl_timestrcmp(creds->passwd, passwd);
}
bool Curl_creds_same(struct Curl_creds *c1, struct Curl_creds *c2)
{
return (c1 == c2) ||