summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial
diff options
context:
space:
mode:
authorBert JW Regeer <bert.regeer@absio.com>2013-10-26 21:06:50 -0600
committerBert JW Regeer <bert.regeer@absio.com>2013-10-26 21:19:24 -0600
commit1c0db5f78473bed04dd9aa972fe53c683a02d8eb (patch)
treece54b53b00ceca5784391bc38637b2a427d03808 /docs/quick_tutorial
parenta4492a9bbe0a58aaed68f12657d3ddf979d22921 (diff)
downloadpyramid-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')
0 files changed, 0 insertions, 0 deletions