diff options
author | Glyph <glyph@twistedmatrix.com> | 2015-06-27 18:38:02 -0700 |
---|---|---|
committer | Glyph <glyph@twistedmatrix.com> | 2015-06-27 18:38:02 -0700 |
commit | eb8059d7bd4abc11a14bdf149812057d505a2685 (patch) | |
tree | 345ef7db75868ab521a91fb42434ac04e74b143b /src | |
parent | 4e9b7d852e79769c2d51396ed747f63b85cefb29 (diff) | |
download | cryptography-eb8059d7bd4abc11a14bdf149812057d505a2685.tar.gz cryptography-eb8059d7bd4abc11a14bdf149812057d505a2685.tar.bz2 cryptography-eb8059d7bd4abc11a14bdf149812057d505a2685.zip |
unnecessary belt-and-suspenders error checking
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/binding.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/binding.py b/src/cryptography/hazmat/bindings/openssl/binding.py index 27c70745..727522a3 100644 --- a/src/cryptography/hazmat/bindings/openssl/binding.py +++ b/src/cryptography/hazmat/bindings/openssl/binding.py @@ -64,8 +64,6 @@ def _register_osrandom_engine(): finally: result = lib.ENGINE_free(engine) assert result == 1 - looked_up_engine = lib.ENGINE_by_id(_osrandom_engine_id) - assert looked_up_engine != ffi.NULL return 1 |