diff options
| author | Bert JW Regeer <bert.regeer@absio.com> | 2013-10-26 21:06:50 -0600 |
|---|---|---|
| committer | Bert JW Regeer <bert.regeer@absio.com> | 2013-10-26 21:19:24 -0600 |
| commit | 1c0db5f78473bed04dd9aa972fe53c683a02d8eb (patch) | |
| tree | ce54b53b00ceca5784391bc38637b2a427d03808 /docs/quick_tutorial/debugtoolbar | |
| parent | a4492a9bbe0a58aaed68f12657d3ddf979d22921 (diff) | |
| download | pyramid-1c0db5f78473bed04dd9aa972fe53c683a02d8eb.tar.gz pyramid-1c0db5f78473bed04dd9aa972fe53c683a02d8eb.tar.bz2 pyramid-1c0db5f78473bed04dd9aa972fe53c683a02d8eb.zip | |
digestmod() has to accept a parameter in certain cases
Due to line 69 in hmac.py in the Python standard library (2.7) it
expects to be able to call the digestmod function with the current key
if the key passed in exceeds the block size in length.
This fixes the code so that digestmod can accept string as an extra
parameter, which is passed through to hashlib.new()
[1]: http://hg.python.org/cpython/file/2.7/Lib/hmac.py#l69
Diffstat (limited to 'docs/quick_tutorial/debugtoolbar')
0 files changed, 0 insertions, 0 deletions
