Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
discover: do not panic on MAC mismatch. (Fixes plietar#289)
The client's expected MAC will not match librespot's derived MAC if the client used the wrong public key. This can happen if librespot is restarted (and thus generated a new key) but the client is still mistakingly using the old public key. When this happens we do not need to panic, we can just abort the connection attempt.
- Loading branch information