summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/asyncio.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-04-01 21:00:48 +0200
committerHelmut Grohne <helmut@subdivi.de>2020-04-01 21:00:48 +0200
commit370715e647f2f3a96343cf71e60dc27424f9c775 (patch)
tree6ed7dd66eed801c11f54e2f231f4d9b61c08f2b9 /wsgitools/scgi/asyncio.py
parent446a82789233b772a5d9d86efd49362fb061298e (diff)
downloadwsgitools-370715e647f2f3a96343cf71e60dc27424f9c775.tar.gz
don't call secrets.compare_digest with a None value
The __call__ method may return None to indicate failure. Using compare_digest with a None value results in a TypeError. Fixes: ab06a888e216 ("use secrets.compare_digest when available")
Diffstat (limited to 'wsgitools/scgi/asyncio.py')
0 files changed, 0 insertions, 0 deletions