From f613922d0e03fd2ac03114d02614e66f533bda93 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Tue, 11 Oct 2022 23:43:26 +0100 Subject: [PATCH] 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" ... --- src/modules/module-raop-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-raop-sink.c b/src/modules/module-raop-sink.c index 2a9ecc3a0..b3a71a807 100644 --- a/src/modules/module-raop-sink.c +++ b/src/modules/module-raop-sink.c @@ -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