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:
James Le Cuirot 2022-10-11 23:43:26 +01:00 committed by Wim Taymans
parent ec0688fa87
commit f613922d0e

View file

@ -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);
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);
}
else