Skip to content

Commit

Permalink
Fixed #217
Browse files Browse the repository at this point in the history
[FIX] Fixed error being raised with qop not present
  • Loading branch information
tayler6000 committed Jan 17, 2024
1 parent e6f7df3 commit 5aa5019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyVoIP/SIP/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def gen_digest(
else:
hash_func = self._hash_md5
# Get new method values
qop = request.authentication.get("qop", None).pop(0)
qop = request.authentication.get("qop", [None]).pop(0)
opaque = request.authentication.get("opaque", None)
userhash = request.authentication.get("userhash", False)

Expand Down

0 comments on commit 5aa5019

Please sign in to comment.