diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-07-27 16:44:53 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2019-07-27 17:44:53 -0400 |
commit | 85d6043f21bbc8bc3f97f8a8be25581f8bc7f376 (patch) | |
tree | 8db6493d467dbbd71ba3f26d470d678a2464a487 /tests/test_fernet.py | |
parent | 25efc646152c3b9e3e4d2ffcd81ccb52055782f3 (diff) | |
download | cryptography-85d6043f21bbc8bc3f97f8a8be25581f8bc7f376.tar.gz cryptography-85d6043f21bbc8bc3f97f8a8be25581f8bc7f376.tar.bz2 cryptography-85d6043f21bbc8bc3f97f8a8be25581f8bc7f376.zip |
fix osrandom/builtin switching methods for 1.1.0+ (#4955)
* fix osrandom/builtin switching methods for 1.1.0+
In 1.1.0 RAND_cleanup became a no-op. This broke changing to the builtin
random engine via activate_builtin_random(). Fixed by directly calling
RAND_set_rand_method. This works on 1.0.x and 1.1.x
* missed an assert
Diffstat (limited to 'tests/test_fernet.py')
0 files changed, 0 insertions, 0 deletions