X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fraop.c;h=cd99b53b77c19b3f65ecd56dd0814889ae9da87b;hb=91c41e1d717a00e2d7f046cc1943a2d7bf5cd475;hp=1994ed373e833d18399ab079ac0fddcad17a29aa;hpb=268f72c87ed44283cc7d35e16198fed76353a098;p=deb_shairplay.git diff --git a/src/lib/raop.c b/src/lib/raop.c index 1994ed3..cd99b53 100644 --- a/src/lib/raop.c +++ b/src/lib/raop.c @@ -175,7 +175,7 @@ conn_request(void *ptr, http_request_t *request, http_response_t **response) http_response_add_header(res, "Apple-Jack-Status", "connected; type=analog"); challenge = http_request_get_header(request, "Apple-Challenge"); - if (challenge) { + if (!require_auth && challenge) { char signature[MAX_SIGNATURE_LEN]; memset(signature, 0, sizeof(signature));