diff options
author | Helmut Grohne <helmut@subdivi.de> | 2020-04-01 21:00:48 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2020-04-01 21:00:48 +0200 |
commit | 370715e647f2f3a96343cf71e60dc27424f9c775 (patch) | |
tree | 6ed7dd66eed801c11f54e2f231f4d9b61c08f2b9 /wsgitools/scgi/asyncio.py | |
parent | 446a82789233b772a5d9d86efd49362fb061298e (diff) | |
download | wsgitools-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