diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2014-05-26 13:52:37 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2014-05-28 19:51:39 +0200 |
| commit | 7e3cf3cfd27e53ced0a1fc65a02849f78a292d3d (patch) | |
| tree | 3d44e8af64f100a5a2f54e79d20509d9ab543b36 /django/db/backends | |
| parent | 32586b0ba43816d325be0ce807f75623683eed7a (diff) | |
Fixed constant_time_compare on Python 2.7.7
Python 2.7.7 includes compare_digest in the hmac module, but it requires
both arguments to have the same type. This is usually not a problem on
Python 3 since everything is text, but we have mixed unicode and str on
Python 2 -- hence make sure everything is bytes before feeding it into
compare_digest.
Diffstat (limited to 'django/db/backends')
0 files changed, 0 insertions, 0 deletions
