aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_warnings.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-12-02 00:41:25 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2017-12-01 11:41:25 -0500
commit9fa6fb273559d29d471df80942ce066e6e40dfde (patch)
tree7108f14bfee1aebafdade8c8282b4f0cee32013d /tests/test_warnings.py
parent4662d44fd3db5078a1882100653a3dbab3e3c7a1 (diff)
downloadcryptography-9fa6fb273559d29d471df80942ce066e6e40dfde.tar.gz
cryptography-9fa6fb273559d29d471df80942ce066e6e40dfde.tar.bz2
cryptography-9fa6fb273559d29d471df80942ce066e6e40dfde.zip
Pass the right length of null bytes when no salt is provided to HKDF (#4036)
This bug looks bad but ends up being benign because HMAC is specified to pad null bytes if a key is too short. So we passed too few bytes and then OpenSSL obligingly padded it out to the correct length. However, we should still do the right thing obviously.
Diffstat (limited to 'tests/test_warnings.py')
0 files changed, 0 insertions, 0 deletions