commit | fbbd54fe017717706ffe48b168ff0639e88f4b43 | [log] [tgz] |
---|---|---|
author | Tux <tuxxy@users.noreply.github.com> | Sat Dec 08 18:15:51 2018 -0700 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Sat Dec 08 20:15:51 2018 -0500 |
tree | 8c0166b2d68bcd79c2d63dec4165b6f28d62fe73 | |
parent | c3d38b5d80a955aee4b160bb97464a20c4992da7 [diff] |
Raise MemoryError when backend.derive_scrypt can't malloc enough (#4592) * Raise MemoryError when backend.derive_scrypt can't malloc enough * Expose ERR_R_MALLOC_FAILURE and use the reason_match pattern to catch it * Add test_scrypt_malloc_failure in test_scrypt * let's see if this passes * add comment to filippo's blog post about scrypt's params