mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
raop: Fix duplicate Digest string in Authorization response header
We were responding with this, which works, but was probably unintended. Authorization: Digest Digest username="iTunes" ...
This commit is contained in:
parent
ec0688fa87
commit
f613922d0e
1 changed files with 1 additions and 1 deletions
|
|
@ -1234,7 +1234,7 @@ static int rtsp_do_auth(struct impl *impl, const struct spa_dict *headers)
|
||||||
MD5_hash(resp, "%s:%s:%s", h1, nonce, h2);
|
MD5_hash(resp, "%s:%s:%s", h1, nonce, h2);
|
||||||
|
|
||||||
spa_scnprintf(auth, sizeof(auth),
|
spa_scnprintf(auth, sizeof(auth),
|
||||||
"Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"*\", response=\"%s\"",
|
"username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"*\", response=\"%s\"",
|
||||||
DEFAULT_USER_NAME, realm, nonce, resp);
|
DEFAULT_USER_NAME, realm, nonce, resp);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue